Skip to content

Conversation

divya1974
Copy link
Contributor

Added explicit strict=True to builtin zip() calls in the MultiIndex tests to satisfy Ruff rule B905 (zip-without-explicit-strict).

Byte-compiled the edited files — no syntax errors.
Ran the focused test directory (pandas/tests/indexes/multi) and confirmed tests passed.

@divya1974 divya1974 changed the title TST: add strict=True to builtin zip() calls in pandas/tests/indexes/multi STY: add strict=True to builtin zip() calls in pandas/tests/indexes/multi Oct 9, 2025
@divya1974
Copy link
Contributor Author

The error in TestBlockManager.test_astype[float16] is unrelated to my PR changes. I am not sure why these 9 tests are failing.

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Oct 9, 2025
@mroeschke mroeschke added this to the 3.0 milestone Oct 9, 2025
@mroeschke mroeschke merged commit 1863adb into pandas-dev:main Oct 9, 2025
40 of 49 checks passed
@mroeschke
Copy link
Member

Thanks @divya1974

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.

STY: Enforce Ruff rule B905, zip-without-explicit-strict

2 participants