1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed broken links to PyYAML page.

This commit is contained in:
CHI Cheng
2018-12-27 20:48:37 +11:00
committed by Mariusz Felisiak
parent 277de22984
commit b7dbd5ff68
3 changed files with 3 additions and 3 deletions

View File

@@ -607,7 +607,7 @@ class SerializationTests(SimpleTestCase):
# - JSON supports only milliseconds, microseconds will be truncated.
# - PyYAML dumps the UTC offset correctly for timezone-aware datetimes,
# but when it loads this representation, it subtracts the offset and
# returns a naive datetime object in UTC (https://pyyaml.org/ticket/202).
# returns a naive datetime object in UTC. See ticket #18867.
# Tests are adapted to take these quirks into account.
def assert_python_contains_datetime(self, objects, dt):