Skip to content

Commit e1a6151

Browse files
committed
TST: Replace ensure_clean with temp_file in test_compression.py
1 parent 0616f7e commit e1a6151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/parser/test_compression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_compression(
110110
)
111111
)
112112

113-
path = tmp_path / filename
113+
path = tmp_path / filename if filename else tmp_path / "test_file"
114114
tm.write_to_compressed(compress_type, path, data)
115115
compression = "infer" if filename else compress_type
116116

0 commit comments

Comments
 (0)