Skip to content

Commit

Permalink
filenotfounderror is too new, switched to oserror
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAnnex committed Apr 15, 2019
1 parent f6591a6 commit 643507c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spiceypy/tests/test_spiceerrors.py
Expand Up @@ -38,7 +38,7 @@ def test_geterror():


def test_getSpiceyException():
with pytest.raises(FileNotFoundError):
with pytest.raises(OSError):
spice.furnsh(os.path.join(cwd, "_null_kernel.txt"))
spice.reset()

Expand Down

0 comments on commit 643507c

Please sign in to comment.