summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-11 23:56:56 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-12 01:36:25 +0100
commit8af7dadca2c820e125c6059eef62e2a4c76f7ff3 (patch)
treef52a8557cad151e459005302bf06ab960c19bd5e
parented32df61f8d447735546b3b7b78fe8d112313287 (diff)
downloadsamba-8af7dadca2c820e125c6059eef62e2a4c76f7ff3.tar.gz
samba-8af7dadca2c820e125c6059eef62e2a4c76f7ff3.tar.bz2
samba-8af7dadca2c820e125c6059eef62e2a4c76f7ff3.zip
selftest.run: Use subunit version of iso8601.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 12 01:36:25 CET 2012 on sn-devel-104
-rw-r--r--selftest/run.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest/run.py b/selftest/run.py
index 24fbc339e6..222ac8b1a8 100644
--- a/selftest/run.py
+++ b/selftest/run.py
@@ -18,7 +18,7 @@
"""Test command running."""
import datetime
-import iso8601
+from subunit import iso8601
import os
import subprocess
import subunit
@@ -89,7 +89,7 @@ def exported_envvars_str(vars, names):
def now():
"""Return datetime instance for current time in UTC.
"""
- return datetime.datetime.utcnow().replace(tzinfo=iso8601.iso8601.Utc())
+ return datetime.datetime.utcnow().replace(tzinfo=iso8601.Utc())
def run_testsuite_command(name, cmd, subunit_ops, env=None, outf=None):