summaryrefslogtreecommitdiff
path: root/tests/test_examplefiles.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_examplefiles.py')
-rw-r--r--tests/test_examplefiles.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_examplefiles.py b/tests/test_examplefiles.py
index ee9af608..52ff3093 100644
--- a/tests/test_examplefiles.py
+++ b/tests/test_examplefiles.py
@@ -22,6 +22,7 @@ class ExampleFileTest(unittest.TestCase):
lfd = 0
# generate methods
+testdir = os.path.dirname(__file__)
for fn in os.listdir(os.path.join(testdir, 'examplefiles')):
absfn = os.path.join(testdir, 'examplefiles', fn)
if not os.path.isfile(absfn):