summaryrefslogtreecommitdiff
path: root/subdir/foo_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-10-06 17:26:09 +0100
committerLars Wirzenius <liw@liw.fi>2013-10-06 17:26:09 +0100
commit1470c3296f6a28c3dd95c786552702af5a241682 (patch)
tree9b21554c8a78a3c9c11449bd5064266033f1302a /subdir/foo_tests.py
parentd7b5706244fca58d8a2564ba6394cb460d2ca2c6 (diff)
parent0a3b1a065257109295f9322f5a7e199d157acfe6 (diff)
downloadcoverage-test-runner-1470c3296f6a28c3dd95c786552702af5a241682.tar.gz
Fix importing of modules with the same basename
By Jannis Pohlmann
Diffstat (limited to 'subdir/foo_tests.py')
-rw-r--r--subdir/foo_tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/subdir/foo_tests.py b/subdir/foo_tests.py
index a8a9740..ce10d5c 100644
--- a/subdir/foo_tests.py
+++ b/subdir/foo_tests.py
@@ -1,4 +1,6 @@
-import unittest, foo
+import unittest
+
+from subdir import foo
class FooTests(unittest.TestCase):