We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9946794 commit be90fceCopy full SHA for be90fce
pandas/tests/io/parser/common/test_chunksize.py
@@ -241,7 +241,8 @@ def test_warn_if_chunks_have_mismatched_type(
241
# be coerced using numerical types, then issue warning.
242
if parser.engine == "c" and parser.low_memory:
243
warning_type = DtypeWarning
244
- # Use larger size to hit warning path
+ # Use a size to hit warning path dictated by DEFAULT_BUFFER_HEURISTIC
245
+ # monkeypatched below
246
size = heuristic - 1
247
248
integers = [str(i) for i in range(size)]
0 commit comments