Skip to content

Commit

Permalink
BUG: fix filepath in test
Browse files Browse the repository at this point in the history
  • Loading branch information
josef-pkt committed Mar 31, 2012
1 parent 668b4d2 commit 110452e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion statsmodels/stats/libqsturng/tests/test_qsturng.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ def test_handful_to_ch(self):

@dec.slow
def test_10000_to_ch(self):
ps, rs, vs, qs = read_ch('bootleg.dat') # <- generated by qtukey in R
import os
curdir = os.path.dirname(os.path.abspath(__file__))
ps, rs, vs, qs = read_ch(curdir + '/bootleg.dat') # <- generated by qtukey in R
qs = np.array(qs)
errors = np.abs(qs-qsturng(ps,rs,vs))/qs
assert_equal(np.array([]), np.where(errors > .03)[0])
Expand Down

0 comments on commit 110452e

Please sign in to comment.