From 643507cddad0753e0696ed05dc605801e1101a8f Mon Sep 17 00:00:00 2001 From: AndrewAnnex Date: Mon, 15 Apr 2019 10:49:39 -0400 Subject: [PATCH] filenotfounderror is too new, switched to oserror --- spiceypy/tests/test_spiceerrors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spiceypy/tests/test_spiceerrors.py b/spiceypy/tests/test_spiceerrors.py index 29c88269..35e41dbf 100644 --- a/spiceypy/tests/test_spiceerrors.py +++ b/spiceypy/tests/test_spiceerrors.py @@ -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()