Skip to content

Commit

Permalink
try relative import as suggested by @ketch
Browse files Browse the repository at this point in the history
  • Loading branch information
rjleveque committed Dec 24, 2016
1 parent 97ad5e3 commit e65d271
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/bowl_slosh/regression_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
"""

from __future__ import absolute_import
from make_fgmax_grid import make_fgmax_grid1

import os
import sys
import unittest
Expand Down Expand Up @@ -39,7 +37,8 @@ def setUp(self):
topo.write(os.path.join(self.temp_path, "bowl.topotype2"), \
topo_type=2, Z_format="%22.15e")

make_fgmax_grid1(self.temp_path)
from . import make_fgmax_grid
make_fgmax_grid.make_fgmax_grid1(self.temp_path)


def runTest(self, save=False, indices=(2, 3)):
Expand Down

0 comments on commit e65d271

Please sign in to comment.