use abspath for travis

This commit is contained in:
Lindsey Heagy
2016-02-03 20:23:31 -08:00
parent 32c936c4e3
commit b81b5af461
+1 -1
View File
@@ -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)