diff --git a/biopandas/pdb/tests/test_read_pdb.py b/biopandas/pdb/tests/test_read_pdb.py index 912140a..e6bd8fa 100644 --- a/biopandas/pdb/tests/test_read_pdb.py +++ b/biopandas/pdb/tests/test_read_pdb.py @@ -268,7 +268,7 @@ def test_anisou_input_handling(): assert ppdb.code == "4eiy", ppdb.code -@pytest.mark.xfail(AttributeError) +@pytest.mark.xfail(raises=AttributeError) def test_get_exceptions(): ppdb = PandasPdb() ppdb.read_pdb(TESTDATA_FILENAME)