Opened 7 years ago
Closed 7 years ago
#28583 closed Cleanup/optimization (invalid)
test_timezone.py test failure on Django 1.9 with Python 3.6
Reported by: | Matthew Brown | Owned by: | nobody |
---|---|---|---|
Component: | Utilities | Version: | 1.9 |
Severity: | Normal | Keywords: | timezone.py |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
FAIL: test_make_aware_pytz (utils_tests.test_timezone.TimezoneTests)
Traceback (most recent call last):
File "/Users/matthewbrown/django/tests/utils_tests/test_timezone.py", line 162, in test_make_aware_pytz
timezone.make_naive(datetime.datetime(2011, 9, 1, 12, 20, 30), CET)
AssertionError: ValueError not raised
received the error message above and once i removed the #with self.assertRaisesMessage(ValueError, 'make_naive() cannot be applied to a naive datetime'): I did not receive the error message or failure from ./runtests.py
Change History (1)
comment:1 by , 7 years ago
Component: | Uncategorized → Utilities |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Summary: | test_timezone.py → test_timezone.py test failure on Django 1.9 with Python 3.6 |
The Django 1.9 branch isn't compatible with Python 3.6 (see #27025). Also, it's end of life as of April 2017.