Author: Maciej Fijalkowski <[email protected]>
Branch: numpy-record-dtypes
Changeset: r52302:842dac94f7e3
Date: 2012-02-09 15:39 +0200
http://bitbucket.org/pypy/pypy/changeset/842dac94f7e3/
Log: start writing a test
diff --git a/pypy/module/micronumpy/test/test_dtypes.py
b/pypy/module/micronumpy/test/test_dtypes.py
--- a/pypy/module/micronumpy/test/test_dtypes.py
+++ b/pypy/module/micronumpy/test/test_dtypes.py
@@ -507,3 +507,6 @@
raises(KeyError, 'd["xyz"]')
raises(KeyError, 'd.fields["xyz"]')
+ def test_create_from_dict(self):
+ from _numpypy import dtype
+ d = dtype({...})
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit