Skip to content

Commit

Permalink
Remove unecessary and broken binary str conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
treyhunner committed Apr 9, 2013
1 parent cc19661 commit 193aa23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions model_utils/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import django
from django.db import models
from django.db.models.fields import FieldDoesNotExist
from django.utils.six import text_type, binary_type
from django.utils.six import text_type
from django.core.exceptions import ImproperlyConfigured, FieldError
from django.test import TestCase

Expand Down Expand Up @@ -199,7 +199,7 @@ def test_len(self):


def test_repr(self):
self.assertEquals(repr(self.STATUS), binary_type("Choices") + repr((
self.assertEquals(repr(self.STATUS), "Choices" + repr((
('DRAFT', 'DRAFT', 'DRAFT'),
('PUBLISHED', 'PUBLISHED', 'PUBLISHED'),
)))
Expand Down Expand Up @@ -244,7 +244,7 @@ def test_len(self):


def test_repr(self):
self.assertEquals(repr(self.STATUS), binary_type("Choices") + repr((
self.assertEquals(repr(self.STATUS), "Choices" + repr((
('DRAFT', 'DRAFT', 'is draft'),
('PUBLISHED', 'PUBLISHED', 'is published'),
('DELETED', 'DELETED', 'DELETED'),
Expand Down Expand Up @@ -280,7 +280,7 @@ def test_len(self):


def test_repr(self):
self.assertEquals(repr(self.STATUS), binary_type("Choices") + repr((
self.assertEquals(repr(self.STATUS), "Choices" + repr((
(0, 'DRAFT', 'is draft'),
(1, 'PUBLISHED', 'is published'),
(2, 'DELETED', 'is deleted'),
Expand Down

0 comments on commit 193aa23

Please sign in to comment.