Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f91ca2a

Browse filesBrowse files
committed
TYP: add rejection-tests for complex ndarray floordiv
1 parent d520849 commit f91ca2a
Copy full SHA for f91ca2a

File tree

1 file changed

+5
-0
lines changed
Filter options

1 file changed

+5
-0
lines changed

‎numpy/typing/tests/data/fail/arithmetic.pyi

Copy file name to clipboardExpand all lines: numpy/typing/tests/data/fail/arithmetic.pyi
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ AR_i // AR_LIKE_m # type: ignore[operator]
7272
AR_f // AR_LIKE_m # type: ignore[operator]
7373
AR_c // AR_LIKE_m # type: ignore[operator]
7474

75+
# regression tests for https://github.com/numpy/numpy/issues/28957
76+
AR_c // 2 # type: ignore[operator]
77+
AR_c // AR_i # type: ignore[operator]
78+
AR_c // AR_c # type: ignore[operator]
79+
7580
# Array multiplication
7681

7782
AR_b *= AR_LIKE_u # type: ignore[arg-type]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.