diff --git a/pandas/tests/io/sas/test_sas.py b/pandas/tests/io/sas/test_sas.py index ea072b6e9c4e0..085dee89a2c11 100644 --- a/pandas/tests/io/sas/test_sas.py +++ b/pandas/tests/io/sas/test_sas.py @@ -4,6 +4,7 @@ from pandas import read_sas import pandas._testing as tm +from pandas.conftest import temp_file class TestSas: @@ -18,7 +19,7 @@ def test_sas_buffer_format(self): with pytest.raises(ValueError, match=msg): read_sas(b) - def test_sas_read_no_format_or_extension(self, temp_file): + def test_sas_read_no_format_or_extension(self,temp_file): # see gh-24548 msg = "unable to infer format of SAS file.+" with pytest.raises(ValueError, match=msg):