Fixed errors n un needed checks

This commit is contained in:
Asif Saif Uddin 2019-05-02 12:53:17 +06:00
parent c4d8be9564
commit 3ead1df728

View File

@ -18,7 +18,6 @@ from rest_framework import exceptions, serializers
from rest_framework.compat import ProhibitNullCharactersValidator
from rest_framework.fields import DjangoImageField, is_simple_callable
# Tests for helper functions.
# ---------------------------
@ -88,7 +87,6 @@ class TestIsSimpleCallable:
assert is_simple_callable(ChoiceModel().get_choice_field_display)
@unittest.skipUnless(typing, 'requires python 3.5')
def test_type_annotation(self):
# The annotation will otherwise raise a syntax error in python < 3.5
locals = {}