From 496a0a483dd8629deaf7821c739b2b83c8e7d3d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Sat, 28 Jan 2023 16:55:56 +0000 Subject: Rely on external copy of iso8601 --- python/subunit/v2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/subunit/v2.py') diff --git a/python/subunit/v2.py b/python/subunit/v2.py index d344aff..9619f3c 100644 --- a/python/subunit/v2.py +++ b/python/subunit/v2.py @@ -23,7 +23,7 @@ import sys import zlib import subunit -import subunit.iso8601 as iso8601 +import iso8601 utf_8_decode = codecs.utf_8_decode @@ -46,7 +46,7 @@ FLAG_TAGS = 0x0080 FLAG_MIME_TYPE = 0x0020 FLAG_EOF = 0x0010 FLAG_FILE_CONTENT = 0x0040 -EPOCH = datetime.datetime.utcfromtimestamp(0).replace(tzinfo=iso8601.Utc()) +EPOCH = datetime.datetime.utcfromtimestamp(0).replace(tzinfo=iso8601.UTC) NUL_ELEMENT = b'\0'[0] # Contains True for types for which 'nul in thing' falsely returns false. _nul_test_broken = {} -- cgit v1.2.1