Skip to content

Comments

Fixes bug 5298, so that generator.integers gives an error if asked for float#5377

Merged
ajpotts merged 3 commits intoBears-R-Us:mainfrom
drculhane:Closes-5298
Feb 9, 2026
Merged

Fixes bug 5298, so that generator.integers gives an error if asked for float#5377
ajpotts merged 3 commits intoBears-R-Us:mainfrom
drculhane:Closes-5298

Conversation

@drculhane
Copy link
Contributor

Closes #5298

This is pretty simple. It implements the fix suggested in the bug, with one small change that the test function requires a (self) argument.

@codecov
Copy link

codecov bot commented Feb 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@c235a25). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #5377   +/-   ##
========================================
  Coverage        ?   100.00%           
========================================
  Files           ?         5           
  Lines           ?       115           
  Branches        ?         0           
========================================
  Hits            ?       115           
  Misses          ?         0           
  Partials        ?         0           
Flag Coverage Δ
python-coverage 100.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@ajpotts ajpotts left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this! Great work!

@ajpotts ajpotts added this pull request to the merge queue Feb 9, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 9, 2026
@ajpotts ajpotts added this pull request to the merge queue Feb 9, 2026
Merged via the queue into Bears-R-Us:main with commit ca27d94 Feb 9, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Generator.integers does not reject float dtypes

2 participants