(float_ty, decimal_ty, case_generator)
| 2406 | random_float_to_decimal_cast_cases], |
| 2407 | ids=['integrals', 'reals', 'random']) |
| 2408 | def test_cast_float_to_decimal(float_ty, decimal_ty, case_generator): |
| 2409 | with decimal.localcontext() as ctx: |
| 2410 | for case in case_generator(float_ty, decimal_ty.max_precision): |
| 2411 | check_cast_float_to_decimal( |
| 2412 | float_ty, case.float_val, |
| 2413 | decimal_ty.factory(case.precision, case.scale), |
| 2414 | ctx, decimal_ty.max_precision) |
| 2415 | |
| 2416 | |
| 2417 | @pytest.mark.numpy |
nothing calls this directly
no test coverage detected