Skip to content

Commit de51e6c

Browse files
committed
Merge branch 'main' of github.com:pandas-dev/pandas-stubs into feature/cmp0xff/1503
2 parents 5817f2b + 852ef64 commit de51e6c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/test_timefuncs.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -956,14 +956,8 @@ def test_series_types_to_numpy() -> None:
956956
np_1darray,
957957
dtype=np.integer,
958958
)
959-
check(
960-
assert_type(o_s.to_numpy(dtype="bytes", copy=True), np_1darray),
961-
np_1darray,
962-
)
963-
check(
964-
assert_type(i_s.to_numpy(dtype="bytes", copy=True), np_1darray),
965-
np_1darray,
966-
)
959+
check(assert_type(o_s.to_numpy(dtype="bytes", copy=True), np_1darray), np_1darray)
960+
check(assert_type(i_s.to_numpy(dtype="bytes", copy=True), np_1darray), np_1darray)
967961

968962
# passed dtype-like with statically known generic
969963
check(

0 commit comments

Comments
 (0)