diff options
author | Jelmer Vernooij <jelmer@jelmer.uk> | 2023-01-28 16:55:56 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@jelmer.uk> | 2023-02-10 17:47:03 +0000 |
commit | 496a0a483dd8629deaf7821c739b2b83c8e7d3d6 (patch) | |
tree | fc829e4d55d66082e48c0dcb0389b9f7efe377db /python/subunit/test_results.py | |
parent | e40507dfb292de805fcbd125594579c40e5165a8 (diff) | |
download | subunit-git-external-iso8601.tar.gz |
Rely on external copy of iso8601external-iso8601
Diffstat (limited to 'python/subunit/test_results.py')
-rw-r--r-- | python/subunit/test_results.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/subunit/test_results.py b/python/subunit/test_results.py index 71a983c..be081c1 100644 --- a/python/subunit/test_results.py +++ b/python/subunit/test_results.py @@ -24,6 +24,7 @@ from testtools import StreamResult from testtools.content import TracebackContent, text_content from testtools.testcase import PlaceHolder +import iso8601 import subunit from subunit import iso8601 @@ -193,7 +194,7 @@ class AutoTimingTestResultDecorator(HookedTestResultDecorator): time = self._time if time is not None: return - time = datetime.datetime.utcnow().replace(tzinfo=iso8601.Utc()) + time = datetime.datetime.utcnow().replace(tzinfo=iso8601.UTC) self.decorated.time(time) def progress(self, offset, whence): |