Skip to content

Commit 5c78235

Browse files
committed
🔥 remove arbitrary dtype test cases for Decimal and Fraction
1 parent 487182a commit 5c78235

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎src/numpy-stubs/@test/static/accept/dtype.pyi

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import ctypes as ct
2-
from decimal import Decimal
3-
from fractions import Fraction
42
from typing_extensions import LiteralString, assert_type
53

64
import numpy as np
@@ -56,9 +54,6 @@ assert_type(np.dtype(np.number), np.dtype[np.number])
5654
# NOTE: `character` and `flexible` always fail on mypy because of some mypy bug
5755
assert_type(np.dtype(np.generic), np.dtype[np.generic])
5856

59-
assert_type(np.dtype(Decimal), np.dtype[np.object_])
60-
assert_type(np.dtype(Fraction), np.dtype[np.object_])
61-
6257
# char-codes
6358
assert_type(np.dtype("u1"), np.dtype[np.uint8])
6459
assert_type(np.dtype("int_"), np.dtype[np.intp])

0 commit comments

Comments
 (0)