|
1 |
| -# @generated 2025-03-30T19:51:31Z with tool/testgen.py |
| 1 | +# @generated 2025-03-30T20:47:08Z with tool/testgen.py |
2 | 2 | from typing_extensions import assert_type
|
3 | 3 |
|
4 | 4 | import numpy as np
|
@@ -661,7 +661,7 @@ assert_type(ui + u, np.integer | np.float64)
|
661 | 661 | assert_type(ui + i, np.signedinteger | np.float64)
|
662 | 662 | assert_type(ui + f, np.floating)
|
663 | 663 | assert_type(ui + c, np.complexfloating)
|
664 |
| -assert_type(ui + ui, np.integer | np.float64) # type: ignore[assert-type, operator] # NOTE: mypy workaround |
| 664 | +assert_type(ui + ui, np.integer | np.float64) # type: ignore[assert-type, operator] # 🐴 |
665 | 665 | assert_type(ui + fc, np.inexact)
|
666 | 666 |
|
667 | 667 | assert_type(fc + b_py, np.inexact)
|
@@ -689,7 +689,7 @@ assert_type(fc + i, np.inexact)
|
689 | 689 | assert_type(fc + f, np.inexact)
|
690 | 690 | assert_type(fc + c, np.complexfloating)
|
691 | 691 | assert_type(fc + ui, np.inexact)
|
692 |
| -assert_type(fc + fc, np.inexact) # type: ignore[operator] # NOTE: mypy workaround |
| 692 | +assert_type(fc + fc, np.inexact) # type: ignore[operator] # 🐴 |
693 | 693 |
|
694 | 694 | ###
|
695 | 695 | # __[r]sub__
|
@@ -1303,7 +1303,7 @@ assert_type(ui - u, np.integer | np.float64)
|
1303 | 1303 | assert_type(ui - i, np.signedinteger | np.float64)
|
1304 | 1304 | assert_type(ui - f, np.floating)
|
1305 | 1305 | assert_type(ui - c, np.complexfloating)
|
1306 |
| -assert_type(ui - ui, np.integer | np.float64) # type: ignore[assert-type, operator] # NOTE: mypy workaround |
| 1306 | +assert_type(ui - ui, np.integer | np.float64) # type: ignore[assert-type, operator] # 🐴 |
1307 | 1307 | assert_type(ui - fc, np.inexact)
|
1308 | 1308 |
|
1309 | 1309 | assert_type(fc - b_py, np.inexact)
|
@@ -1331,7 +1331,7 @@ assert_type(fc - i, np.inexact)
|
1331 | 1331 | assert_type(fc - f, np.inexact)
|
1332 | 1332 | assert_type(fc - c, np.complexfloating)
|
1333 | 1333 | assert_type(fc - ui, np.inexact)
|
1334 |
| -assert_type(fc - fc, np.inexact) # type: ignore[operator] # NOTE: mypy workaround |
| 1334 | +assert_type(fc - fc, np.inexact) # type: ignore[operator] # 🐴 |
1335 | 1335 |
|
1336 | 1336 | ###
|
1337 | 1337 | # __[r]mul__
|
@@ -1939,7 +1939,7 @@ assert_type(ui * u, np.integer | np.float64)
|
1939 | 1939 | assert_type(ui * i, np.signedinteger | np.float64)
|
1940 | 1940 | assert_type(ui * f, np.floating)
|
1941 | 1941 | assert_type(ui * c, np.complexfloating)
|
1942 |
| -assert_type(ui * ui, np.integer | np.float64) # type: ignore[assert-type, operator] # NOTE: mypy workaround |
| 1942 | +assert_type(ui * ui, np.integer | np.float64) # type: ignore[assert-type, operator] # 🐴 |
1943 | 1943 | assert_type(ui * fc, np.inexact)
|
1944 | 1944 |
|
1945 | 1945 | assert_type(fc * b_py, np.inexact)
|
@@ -1968,7 +1968,7 @@ assert_type(fc * i, np.inexact)
|
1968 | 1968 | assert_type(fc * f, np.inexact)
|
1969 | 1969 | assert_type(fc * c, np.complexfloating)
|
1970 | 1970 | assert_type(fc * ui, np.inexact)
|
1971 |
| -assert_type(fc * fc, np.inexact) # type: ignore[operator] # NOTE: mypy workaround |
| 1971 | +assert_type(fc * fc, np.inexact) # type: ignore[operator] # 🐴 |
1972 | 1972 |
|
1973 | 1973 | ###
|
1974 | 1974 | # __[r]pow__
|
@@ -2537,7 +2537,7 @@ assert_type(ui**u, np.integer | np.float64)
|
2537 | 2537 | assert_type(ui**i, np.signedinteger | np.float64)
|
2538 | 2538 | assert_type(ui**f, np.floating)
|
2539 | 2539 | assert_type(ui**c, np.complexfloating)
|
2540 |
| -assert_type(ui**ui, np.integer | np.float64) # type: ignore[assert-type, operator] # NOTE: mypy workaround |
| 2540 | +assert_type(ui**ui, np.integer | np.float64) # type: ignore[assert-type, operator] # 🐴 |
2541 | 2541 | assert_type(ui**fc, np.inexact)
|
2542 | 2542 |
|
2543 | 2543 | assert_type(fc**b_py, np.inexact)
|
@@ -2565,7 +2565,7 @@ assert_type(fc**i, np.inexact)
|
2565 | 2565 | assert_type(fc**f, np.inexact)
|
2566 | 2566 | assert_type(fc**c, np.complexfloating)
|
2567 | 2567 | assert_type(fc**ui, np.inexact)
|
2568 |
| -assert_type(fc**fc, np.inexact) # type: ignore[operator] # NOTE: mypy workaround |
| 2568 | +assert_type(fc**fc, np.inexact) # type: ignore[operator] # 🐴 |
2569 | 2569 |
|
2570 | 2570 | ###
|
2571 | 2571 | # __[r]truediv__
|
@@ -3183,4 +3183,4 @@ assert_type(fc / i, np.inexact)
|
3183 | 3183 | assert_type(fc / f, np.inexact)
|
3184 | 3184 | assert_type(fc / c, np.complexfloating)
|
3185 | 3185 | assert_type(fc / ui, np.inexact)
|
3186 |
| -assert_type(fc / fc, np.inexact) |
| 3186 | +assert_type(fc / fc, np.inexact) # type: ignore[operator] # 🐴 |
0 commit comments