diff --git a/nrrd/tests/test_formatting.py b/nrrd/tests/test_formatting.py index df6d615..74d8124 100644 --- a/nrrd/tests/test_formatting.py +++ b/nrrd/tests/test_formatting.py @@ -1,14 +1,8 @@ -import os -import sys - import numpy as np import nrrd from nrrd.tests.util import * -# Required specifically in each module so that searches happen at the parent directory for importing modules -sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))) - class TestFieldFormatting(unittest.TestCase): def setUp(self): diff --git a/nrrd/tests/test_parsing.py b/nrrd/tests/test_parsing.py index 9d5904f..e6a7900 100644 --- a/nrrd/tests/test_parsing.py +++ b/nrrd/tests/test_parsing.py @@ -1,13 +1,8 @@ -import os -import sys - import numpy as np import nrrd from nrrd.tests.util import * -sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))) - class TestFieldParsing(unittest.TestCase): def setUp(self): diff --git a/nrrd/tests/test_reading.py b/nrrd/tests/test_reading.py index d3a39e5..29efce0 100644 --- a/nrrd/tests/test_reading.py +++ b/nrrd/tests/test_reading.py @@ -1,13 +1,8 @@ -import os -import sys - import numpy as np import nrrd from nrrd.tests.util import * -sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))) - class TestReadingFunctions: def setUp(self):