diff --git a/tests/examples/test_examples.py b/tests/examples/test_examples.py index 8decc683..1e1da875 100644 --- a/tests/examples/test_examples.py +++ b/tests/examples/test_examples.py @@ -7,7 +7,7 @@ import numpy as np class compareInitFiles(unittest.TestCase): def test_compareInitFiles(self): print 'Checking that __init__.py up-to-date in SimPEG/Examples' - fName = os.path.realpath(__file__) + fName = os.path.abspath(__file__) ExamplesDir = os.path.sep.join(fName.split(os.path.sep)[:-3] + ['SimPEG', 'Examples']) files = os.listdir(ExamplesDir)