summaryrefslogtreecommitdiff
path: root/test/test_oddball.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-12-30 10:17:27 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-12-30 10:17:27 -0500
commit04ef8ebce940e5ab73c770a418ecf9721f4e12f8 (patch)
treeab4cd0b8c54c87cddaafb34a1cca105a84790cea /test/test_oddball.py
parentaf55a14f14ef3041690c810a61c62d22a089bfc8 (diff)
downloadpython-coveragepy-git-04ef8ebce940e5ab73c770a418ecf9721f4e12f8.tar.gz
Get rid of import craziness in the tests.
Diffstat (limited to 'test/test_oddball.py')
-rw-r--r--test/test_oddball.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test_oddball.py b/test/test_oddball.py
index 75cd00ee..113328bb 100644
--- a/test/test_oddball.py
+++ b/test/test_oddball.py
@@ -3,9 +3,8 @@
import os, sys
import coverage
-sys.path.insert(0, os.path.split(__file__)[0]) # Force relative import for Py3k
-from coveragetest import CoverageTest
-import osinfo
+from test.coveragetest import CoverageTest
+from test import osinfo
class ThreadingTest(CoverageTest):
"""Tests of the threading support."""