Skip to content

Commit be90fce

Browse files
committed
Update comment about larger size
1 parent 9946794 commit be90fce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ def test_warn_if_chunks_have_mismatched_type(
241241
# be coerced using numerical types, then issue warning.
242242
if parser.engine == "c" and parser.low_memory:
243243
warning_type = DtypeWarning
244-
# Use larger size to hit warning path
244+
# Use a size to hit warning path dictated by DEFAULT_BUFFER_HEURISTIC
245+
# monkeypatched below
245246
size = heuristic - 1
246247

247248
integers = [str(i) for i in range(size)]

0 commit comments

Comments
 (0)