Skip to content

Commit 4992efd

Browse files
meeseeksmachineWillAyd
authored andcommitted
Backport PR pandas-dev#31229: (Fixes CI) Replaced set comprehension with a generator (pandas-dev#31231)
1 parent 194901a commit 4992efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/parser/test_network.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def test_read_csv_chunked_download(self, s3_resource, caplog):
205205
with caplog.at_level(logging.DEBUG, logger="s3fs"):
206206
read_csv("s3://pandas-test/large-file.csv", nrows=5)
207207
# log of fetch_range (start, stop)
208-
assert (0, 5505024) in {x.args[-2:] for x in caplog.records}
208+
assert (0, 5505024) in (x.args[-2:] for x in caplog.records)
209209

210210
def test_read_s3_with_hash_in_key(self, tips_df):
211211
# GH 25945

0 commit comments

Comments
 (0)