diff options
author | czgdp1807 <gdp.1807@gmail.com> | 2021-09-03 15:15:18 +0530 |
---|---|---|
committer | czgdp1807 <gdp.1807@gmail.com> | 2021-09-03 15:15:18 +0530 |
commit | a39312cf4eca9dc9573737a01f16fee24efb6c0a (patch) | |
tree | 008b94bdf0d32f7caf1412bba0a660ce0b29b954 /numpy/array_api/tests/test_creation_functions.py | |
parent | 45dbdc9d8fd3fa7fbabbddf690f6c892cc24aa1d (diff) | |
download | numpy-a39312cf4eca9dc9573737a01f16fee24efb6c0a.tar.gz |
fixed linting issues
Diffstat (limited to 'numpy/array_api/tests/test_creation_functions.py')
-rw-r--r-- | numpy/array_api/tests/test_creation_functions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/array_api/tests/test_creation_functions.py b/numpy/array_api/tests/test_creation_functions.py index b0c99cd45..9d2909e91 100644 --- a/numpy/array_api/tests/test_creation_functions.py +++ b/numpy/array_api/tests/test_creation_functions.py @@ -66,7 +66,8 @@ def test_asarray_copy(): a[0] = 0 assert all(b[0] == 0) assert_raises(NotImplementedError, lambda: asarray(a, copy=False)) - assert_raises(NotImplementedError, lambda: asarray(a, copy=np._CopyMode.NEVER)) + assert_raises(NotImplementedError, lambda: asarray(a, + copy=np._CopyMode.NEVER)) def test_arange_errors(): |