Skip to content

Commit 3cd8d89

Browse files
committed
TST:replace ensure_clean with temp_file in test_file_buffer_url.py
1 parent 0960b4a commit 3cd8d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/parser/common/test_file_buffer_url.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def test_no_permission(all_parsers, temp_file):
115115

116116
with pytest.raises(PermissionError, match=msg) as e:
117117
parser.read_csv(path)
118-
assert path == e.value.filename
118+
assert str(path.resolve()) == e.value.filename
119119

120120

121121
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)