From b81b5af46179569ec6821a001eb338002cb5a3f7 Mon Sep 17 00:00:00 2001 From: Lindsey Heagy Date: Wed, 3 Feb 2016 20:23:31 -0800 Subject: [PATCH] use abspath for travis --- tests/examples/test_examples.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)