diff options
author | zjpoh <poh.zijie@gmail.com> | 2019-08-19 22:03:25 -0700 |
---|---|---|
committer | zjpoh <poh.zijie@gmail.com> | 2019-08-19 22:03:25 -0700 |
commit | f779af07a92cb419b964316960a1b503df9b712d (patch) | |
tree | cd358ddb5f5540907b5f623154187992789ed3ef /numpy/core/tests | |
parent | b112fc371815fbd1fa5e1f121ffee9aa563092f1 (diff) | |
download | numpy-f779af07a92cb419b964316960a1b503df9b712d.tar.gz |
Add parenthesis as suggested by compiler. Update docstring.
Diffstat (limited to 'numpy/core/tests')
-rw-r--r-- | numpy/core/tests/test_longdouble.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_longdouble.py b/numpy/core/tests/test_longdouble.py index ad4d7a357..7fb542ee1 100644 --- a/numpy/core/tests/test_longdouble.py +++ b/numpy/core/tests/test_longdouble.py @@ -71,7 +71,7 @@ def test_fromstring(): def test_fromstring_complex(): - for ctypes in ["cdouble", "cfloat"]: + for ctypes in ["complex", "cdouble", "cfloat"]: # Check spacing between separator assert_equal(np.fromstring("1, 2 , 3 ,4",sep=",",dtype=ctypes), np.array([1., 2., 3., 4.])) |