Skip to content

Commit

Permalink
Fix two changes that broke tests when fitsio is installed.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmjarvis committed May 26, 2022
1 parent 52e041a commit 8d6d7db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_ng.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def test_direct():
del config['file_name2']
with assert_raises(TypeError):
treecorr.corr2(config)
config['file_name2'] = 'data/ng_direct_cat2.dat'
config['file_name2'] = 'data/ng_direct_cat2.fits'
# Invalid to request compoensated if no rand_file
config['ng_statistic'] = 'compensated'
with assert_raises(TypeError):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_nk.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_direct():
del config['file_name2']
with assert_raises(TypeError):
treecorr.corr2(config)
config['file_name2'] = 'data/nk_direct_cat2.dat'
config['file_name2'] = 'data/nk_direct_cat2.fits'
# Invalid to request compoensated if no rand_file
config['nk_statistic'] = 'compensated'
with assert_raises(TypeError):
Expand Down

0 comments on commit 8d6d7db

Please sign in to comment.