summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/model_enums/tests.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/model_enums/tests.py b/tests/model_enums/tests.py
index 32f0ad3668..306bfc8d67 100644
--- a/tests/model_enums/tests.py
+++ b/tests/model_enums/tests.py
@@ -316,13 +316,6 @@ class CustomChoicesTests(SimpleTestCase):
class Boolean(bool, models.Choices):
pass
- def test_timezone_unsupported(self):
- msg = "type 'datetime.timezone' is not an acceptable base type"
- with self.assertRaisesMessage(TypeError, msg):
-
- class Timezone(datetime.timezone, models.Choices):
- pass
-
def test_uuid_unsupported(self):
with self.assertRaises(TypeError):