We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a59b126 commit 6e42b1fCopy full SHA for 6e42b1f
pandas/tests/io/sas/test_sas.py
@@ -18,12 +18,11 @@ def test_sas_buffer_format(self):
18
with pytest.raises(ValueError, match=msg):
19
read_sas(b)
20
21
- def test_sas_read_no_format_or_extension(self):
+ def test_sas_read_no_format_or_extension(self, temp_file):
22
# see gh-24548
23
msg = "unable to infer format of SAS file.+"
24
- with tm.ensure_clean("test_file_no_extension") as path:
25
- with pytest.raises(ValueError, match=msg):
26
- read_sas(path)
+ with pytest.raises(ValueError, match=msg):
+ read_sas(temp_file)
27
28
29
def test_sas_archive(datapath):
0 commit comments