From 3ead1df728326879a4a47718d600e93623c8a29c Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Thu, 2 May 2019 12:53:17 +0600 Subject: [PATCH] Fixed errors n un needed checks --- tests/test_fields.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_fields.py b/tests/test_fields.py index ae919c523..67a7fef2f 100644 --- a/tests/test_fields.py +++ b/tests/test_fields.py @@ -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 = {}