diff --git a/tests/test_script.py b/tests/test_script.py index d5ef3a6..953f941 100644 --- a/tests/test_script.py +++ b/tests/test_script.py @@ -119,5 +119,4 @@ def test_prefile_read(): def test_no_prefile(): prefile = Prefile("foo-pre-file-not-found", "post") - with pytest.raises(FileNotFoundError): - prefile.read() + assert prefile.read() is None