# HG changeset patch # User Ludovic Chabant # Date 1435469312 25200 # Node ID c0700c6d954591002c46c6e3f8d05c9cca08face # Parent cff70eeb1cc1eb34193e52a4f9ae36723992d7f9 tests: Fix crash in processing tests. diff -r cff70eeb1cc1 -r c0700c6d9545 tests/conftest.py --- a/tests/conftest.py Sat Jun 27 22:18:50 2015 -0700 +++ b/tests/conftest.py Sat Jun 27 22:28:32 2015 -0700 @@ -324,14 +324,14 @@ class CompareContext(object): - def __init__(self, path=None): + def __init__(self, path=None, t=None): self.path = path or '' - self.time = time.time() + self.time = t or time.time() def createChildContext(self, name): ctx = CompareContext( path='%s/%s' % (self.path, name), - time=self.time) + t=self.time) return ctx