diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2020-08-30 00:49:55 +0200 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2020-10-01 13:56:27 +0200 |
commit | abe1429ee329571b640bf2b59b9be361e4f84c86 (patch) | |
tree | 78a1a04d3ac2f4650bf3860a1ef12f2d8a34d810 /numpy/typing | |
parent | d03a906ed6d220fb9a359c51bf8413dfb3012a49 (diff) | |
download | numpy-abe1429ee329571b640bf2b59b9be361e4f84c86.tar.gz |
ENH: Use literals where possible
Diffstat (limited to 'numpy/typing')
-rw-r--r-- | numpy/typing/tests/data/pass/literal.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/typing/tests/data/pass/literal.py b/numpy/typing/tests/data/pass/literal.py index 321ce3c2b..8eaeb6afb 100644 --- a/numpy/typing/tests/data/pass/literal.py +++ b/numpy/typing/tests/data/pass/literal.py @@ -31,6 +31,8 @@ order_list: List[Tuple[frozenset, Callable]] = [ (KACF, partial(np.add, 1, 1)), # i.e. np.ufunc.__call__ (ACF, partial(np.reshape, AR, 1)), (KACF, partial(np.ravel, AR)), + (KACF, partial(np.asarray, 1)), + (KACF, partial(np.asanyarray, 1)), ] for order_set, func in order_list: |