Skip to content

Conversation

@BreezeLune
Copy link
Contributor

@BreezeLune BreezeLune commented Oct 13, 2025

Add explicit strict=True to zip() calls in pandas/_testing to satisfy Ruff rule B905 (zip-without-explicit-strict).

  • Add explicit strict=True to zip() calls in pandas/_testing/asserters.py (2 calls)
  • Add explicit strict=True to zip() calls in pandas/_testing/_warnings.py (1 call)
  • Satisfies Ruff rule B905 (zip-without-explicit-strict)

Towards #62434

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

- Add explicit strict=True to zip() calls in pandas/_testing/asserters.py (2 calls)
- Add explicit strict=True to zip() calls in pandas/_testing/_warnings.py (1 call)
- Satisfies Ruff rule B905 (zip-without-explicit-strict)

Towards pandas-dev#62434
@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Oct 13, 2025
@mroeschke mroeschke added this to the 3.0 milestone Oct 13, 2025
@mroeschke mroeschke merged commit a609b57 into pandas-dev:main Oct 13, 2025
47 checks passed
@mroeschke
Copy link
Member

Thanks @BreezeLune

mraabhijit pushed a commit to mraabhijit/pandas that referenced this pull request Oct 17, 2025
eicchen pushed a commit to eicchen/pandas that referenced this pull request Oct 18, 2025
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