blob: 884583c098b434a87654e73df6ff842c038dd0c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- a/tests/pypamtest_test.py
+++ b/tests/pypamtest_test.py
@@ -15,19 +15,6 @@ class PyPamTestCase(unittest.TestCase):
self.assertSequenceEqual(test_result.errors, info_list)
class PyPamTestImport(unittest.TestCase):
- def setUp(self):
- " Make sure we load the in-tree module "
- if sys.hexversion >= 0x3000000:
- self.modpath = os.path.join(os.getcwd(), "../src/python/python3")
- else:
- self.assertTrue(False)
- self.system_path = sys.path[:]
- sys.path = [ self.modpath ]
-
- def tearDown(self):
- " Restore the system path "
- sys.path = self.system_path
-
def testImport(self):
" Import the module "
try:
|