Skip to content

Commit

Permalink
Remove unused helpers, no longer needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Apr 10, 2015
1 parent f1023af commit 312a493
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/ZODB/tests/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import atexit
import os
import persistent
import platform
import re
import sys
import tempfile
Expand Down Expand Up @@ -184,18 +183,3 @@ def faux_time():
zope.testing.setupstack.register(test, setattr, time, 'time', time.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

0 comments on commit 312a493

Please sign in to comment.