Skip to content

Commit ec3e9ed

Browse files
committed
🚨 fix "unused variable" errors
1 parent f90d4a1 commit ec3e9ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/numpy-stubs/@test/runtime/accept/recfunctions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def test_get_names() -> None:
2525

2626
adtype = np.dtype([("a", int), ("b", [("b_a", int), ("b_b", int)])])
2727
names = rfn.get_names(adtype)
28+
assert names
2829

2930

3031
def test_get_names_flat() -> None:
@@ -34,6 +35,7 @@ def test_get_names_flat() -> None:
3435

3536
adtype = np.dtype([("a", int), ("b", [("b_a", int), ("b_b", int)])])
3637
names = rfn.get_names_flat(adtype)
38+
assert names
3739

3840

3941
def test_flatten_descr() -> None:

0 commit comments

Comments
 (0)