[pypy-commit] pypy numpy-record-dtypes: start writing a test

fijal noreply at buildbot.pypy.org
Thu Feb 9 16:47:36 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
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({...})


More information about the pypy-commit mailing list