Skip to content

Commit

Permalink
TST/CI: Follow up fix test_write_fspath_all (pandas-dev#49621)
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke authored and codamuse committed Nov 12, 2022
1 parent 22497ef commit d05207a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/io/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def test_write_fspath_all(self, writer_name, writer_kwargs, module):
writer(string, **writer_kwargs)
writer(mypath, **writer_kwargs)
with open(string, "rb") as f_str, open(fspath, "rb") as f_path:
if writer == "to_excel":
if writer_name == "to_excel":
# binary representation of excel contains time creation
# data that causes flaky CI failures
result = pd.read_excel(f_str, **writer_kwargs)
Expand Down

0 comments on commit d05207a

Please sign in to comment.