summaryrefslogtreecommitdiff
path: root/test/testlib/testing.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/testlib/testing.py')
-rw-r--r--test/testlib/testing.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/testlib/testing.py b/test/testlib/testing.py
index 1231dc126..1b5a55f04 100644
--- a/test/testlib/testing.py
+++ b/test/testlib/testing.py
@@ -2,7 +2,6 @@
# monkeypatches unittest.TestLoader.suiteClass at import time
-import testbase
import itertools, unittest, re, sys, os, operator, warnings
from cStringIO import StringIO
import testlib.config as config
@@ -21,6 +20,9 @@ _ops = { '<': operator.lt,
'between': lambda val, pair: val >= pair[0] and val <= pair[1],
}
+# sugar ('testing.db'); set here by config() at runtime
+db = None
+
def fails_on(*dbs):
"""Mark a test as expected to fail on one or more database implementations.