[Django] #28583: test_timezone.py

31 views
Skip to first unread message

Django

unread,
Sep 10, 2017, 6:01:45 PM9/10/17
to django-...@googlegroups.com
#28583: test_timezone.py
-------------------------------------+-------------------------------------
Reporter: Matthew | Owner: nobody
Brown |
Type: | Status: new
Cleanup/optimization |
Component: | Version: 1.9
Uncategorized |
Severity: Normal | Keywords: timezone.py
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
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

--
Ticket URL: <https://code.djangoproject.com/ticket/28583>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 10, 2017, 9:27:59 PM9/10/17
to django-...@googlegroups.com
#28583: test_timezone.py test failure on Django 1.9 with Python 3.6
-------------------------------------+-------------------------------------
Reporter: Matthew Brown | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Utilities | Version: 1.9
Severity: Normal | Resolution: invalid
Keywords: timezone.py | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* status: new => closed
* component: Uncategorized => Utilities
* resolution: => invalid


Comment:

The Django 1.9 branch isn't compatible with Python 3.6 (see #27025). Also,
it's [https://www.djangoproject.com/download/#supported-versions end of
life as of April 2017].

--
Ticket URL: <https://code.djangoproject.com/ticket/28583#comment:1>

Reply all
Reply to author
Forward
0 new messages