Commit c7413b44 authored by Jim Fulton's avatar Jim Fulton

use "import time" so we can mess with time.time in tests.

parent 55b86a3e
...@@ -22,7 +22,7 @@ import threading ...@@ -22,7 +22,7 @@ import threading
import warnings import warnings
import os import os
import shutil import shutil
from time import time import time
from persistent import PickleCache from persistent import PickleCache
...@@ -1010,7 +1010,7 @@ class Connection(ExportImport, object): ...@@ -1010,7 +1010,7 @@ class Connection(ExportImport, object):
register for afterCompletion() calls. register for afterCompletion() calls.
""" """
self._opened = time() self._opened = time.time()
if transaction_manager is None: if transaction_manager is None:
transaction_manager = transaction.manager transaction_manager = transaction.manager
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment