Skip to content

Commit b39d43a

Browse files
Merge pull request #33836 from jakevdp:old-np-apis
PiperOrigin-RevId: 842344094
2 parents 3e56355 + b8cab94 commit b39d43a

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

tests/lax_numpy_test.py

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -6254,43 +6254,6 @@ def testWrappedSignaturesMatch(self):
62546254
'trapz',
62556255
'typename'}
62566256

6257-
# symbols removed in NumPy 2.0
6258-
skip |= {'add_docstring',
6259-
'add_newdoc',
6260-
'add_newdoc_ufunc',
6261-
'alltrue',
6262-
'asfarray',
6263-
'byte_bounds',
6264-
'compare_chararrays',
6265-
'cumproduct',
6266-
'deprecate',
6267-
'deprecate_with_doc',
6268-
'disp',
6269-
'fastCopyAndTranspose',
6270-
'find_common_type',
6271-
'get_array_wrap',
6272-
'geterrobj',
6273-
'issctype',
6274-
'issubclass_',
6275-
'issubsctype',
6276-
'lookfor',
6277-
'mat',
6278-
'maximum_sctype',
6279-
'msort',
6280-
'obj2sctype',
6281-
'product',
6282-
'recfromcsv',
6283-
'recfromtxt',
6284-
'round_',
6285-
'safe_eval',
6286-
'sctype2char',
6287-
'set_numeric_ops',
6288-
'set_string_function',
6289-
'seterrobj',
6290-
'sometrue',
6291-
'source',
6292-
'who'}
6293-
62946257
self.assertEmpty(skip.intersection(dir(jnp)))
62956258

62966259
names = (name for name in dir(np) if not (name.startswith('_') or name in skip))

0 commit comments

Comments
 (0)