summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_regression.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/tests/test_regression.py b/numpy/core/tests/test_regression.py
index b9575bdf4..2f59a3325 100644
--- a/numpy/core/tests/test_regression.py
+++ b/numpy/core/tests/test_regression.py
@@ -771,5 +771,9 @@ class TestRegression(NumpyTestCase):
def check_binary_repr_0_width(self, level=rlevel):
assert_equal(np.binary_repr(0,width=3),'000')
+ def check_fromstring(self, level=rlevel):
+ assert_equal(np.fromstring("12:09:09", dtype=int, sep=":"),
+ [12,9,9])
+
if __name__ == "__main__":
NumpyTest().run()