Skip to content

Commit 77b87fb

Browse files
authored
TST/CI: Follow up fix test_write_fspath_all (#49621)
1 parent 47ecf8d commit 77b87fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/test_common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def test_write_fspath_all(self, writer_name, writer_kwargs, module):
361361
writer(string, **writer_kwargs)
362362
writer(mypath, **writer_kwargs)
363363
with open(string, "rb") as f_str, open(fspath, "rb") as f_path:
364-
if writer == "to_excel":
364+
if writer_name == "to_excel":
365365
# binary representation of excel contains time creation
366366
# data that causes flaky CI failures
367367
result = pd.read_excel(f_str, **writer_kwargs)

0 commit comments

Comments
 (0)