Skip to content

Commit

Permalink
Remove appending package path to test file (#119)
Browse files Browse the repository at this point in the history
This declaration is no longer necessary.
  • Loading branch information
addisonElliott authored Jul 3, 2022
1 parent f7e8e5a commit ddcc1af
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
6 changes: 0 additions & 6 deletions nrrd/tests/test_formatting.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down
5 changes: 0 additions & 5 deletions nrrd/tests/test_parsing.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down
5 changes: 0 additions & 5 deletions nrrd/tests/test_reading.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down

0 comments on commit ddcc1af

Please sign in to comment.