1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests/model_enums
Nick Pope 06c5cb1284 Refs #34986 -- Removed redundant CustomChoicesTests.test_timezone_unsupported().
This test relied on the behavior of subclassing `datetime.timezone`
which is not permitted by the C-extension version of CPython's
`datetime` module. This restriction isn't enforced by the pure
Python version, nor by PyPy.

See https://github.com/python/cpython/issues/112451

It's not critical, and doesn't test any Django behavior, so just
remove it.
2023-11-29 21:12:53 +01:00
..
__init__.py Refs #27910 -- Added __init__.py file for model_enums tests. 2019-10-15 21:27:22 +02:00
tests.py Refs #34986 -- Removed redundant CustomChoicesTests.test_timezone_unsupported(). 2023-11-29 21:12:53 +01:00