Skip to content

Commit

Permalink
Moved test for gh to subdirectory
Browse files Browse the repository at this point in the history
It wasn't properly finding the import path for reasons I don't
understand. But it works now.
  • Loading branch information
rlabbe committed Jun 19, 2016
1 parent 72c2482 commit c9c488a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions filterpy/gh/test_gh.py → filterpy/gh/tests/test_gh.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def fx(x):
plt.plot(zs)


def foo():
def test_GHFilterOrder():
def fx(x):
return 2*x+1

Expand All @@ -140,7 +140,6 @@ def fx(x):

assert abs(f1.x[0]-f2.x) < 1.e-18

foo()

if __name__ == "__main__":
optimal_test()
Expand All @@ -149,4 +148,6 @@ def fx(x):
test_1d_array()
test_2d_array()

test_GHFilterOrder()

print('all passed')

0 comments on commit c9c488a

Please sign in to comment.