Remove pointless test

The test tested Python functionality, not django-rest-framework
functionality. That is best left to the Python test suite.
This commit is contained in:
Jon Dufresne 2019-04-30 18:05:45 -07:00
parent 0407a0df8a
commit 83c473c14e

View File

@ -386,23 +386,6 @@ class TestIncorrectlyConfigured:
)
class TestUnicodeRepr:
def test_repr(self):
class ExampleSerializer(serializers.Serializer):
example = serializers.CharField()
class ExampleObject:
def __init__(self):
self.example = '한국'
def __repr__(self):
return repr(self.example)
instance = ExampleObject()
serializer = ExampleSerializer(instance)
repr(serializer) # Should not error.
class TestNotRequiredOutput:
def test_not_required_output_for_dict(self):
"""