Commit 312a493d authored by Jason Madden's avatar Jason Madden

Remove unused helpers, no longer needed.

parent f1023af2
...@@ -18,7 +18,6 @@ from ZODB.MappingStorage import DB ...@@ -18,7 +18,6 @@ from ZODB.MappingStorage import DB
import atexit import atexit
import os import os
import persistent import persistent
import platform
import re import re
import sys import sys
import tempfile import tempfile
...@@ -184,18 +183,3 @@ def mess_with_time(test=None, globs=None, now=1278864701.5): ...@@ -184,18 +183,3 @@ def mess_with_time(test=None, globs=None, now=1278864701.5):
zope.testing.setupstack.register(test, setattr, time, 'time', time.time) zope.testing.setupstack.register(test, setattr, time, 'time', time.time)
time.time = faux_time time.time = faux_time
py_impl = getattr(platform, 'python_implementation', lambda: None)
PYPY = py_impl() == 'PyPy'
if not hasattr(unittest, 'skipIf'):
def skipIf(condition, reason):
if condition:
def skip(f):
return lambda self: None
return skip
def run(f):
return f
return run
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