Closed
Description
Some new numeric dtype fixtures were implemented in #21432:
Lines 183 to 243 in 9e982e1
It would be nice to use these fixtures where appropriate in the existing tests, e.g.
pandas/pandas/tests/indexes/datetimes/test_construction.py
Lines 527 to 528 in 9e982e1
Additional comments:
- These changes can be split across multiple PR's so no need to do all changes at once
- Not how many instances of this will need to be replaced, so this will need to be investigated
- This might involve expanding the dtype coverage for some tests
- The example test shown above could also be tested over uint dtypes
- Can probably drop
float16
dtypes from tests since it's barely supported - Might be necessary to create additional fixtures
- Perhaps a fixture for the combination of float + signed integer + unsigned integer dtypes