Skip to content

Conversation

@mroeschke
Copy link
Member

@mroeschke mroeschke commented Nov 3, 2025

  • Reduced input data sizes
  • Added @pytest.mark.slow to pandas/tests/indexing/multiindex/test_indexing_slow.py
  • test_read_csv_memory_growth_chunksize removed as it's already covered by an ASV ReadCSVMemoryGrowth
  • Made test_memory_leak more specific to checking a reference cycle

@mroeschke mroeschke added this to the 3.0 milestone Nov 3, 2025
@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Nov 3, 2025
warning_type = DtypeWarning
# Use larger size to hit warning path
size = 499999
size = heuristic - 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the comment above makes me think in this case size was made bigger. now you're making it smaller. am i interpreting the comment wrong?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair point, the comment becomes outdated with this change. I'll update it.

For reference, I'm using the same technique used in the test above, test_chunks_have_consistent_numerical_type, to patch DEFAULT_BUFFER_HEURISTIC so we don't have to run a test with so much data to hit a condition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Testing pandas testing functions or related to the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants