Skip to content

Commit 6f395ad

Browse files
ShaharNavehWillAyd
authored andcommitted
Replaced set comprehension with a generator (#31229)
1 parent 774498b commit 6f395ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/parser/test_network.py

Lines changed: 1 addition & 1 deletion
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)