Author: Antonio Cuni <anto.c...@gmail.com>
Branch: fastjson
Changeset: r64798:649d62298da1
Date: 2013-06-05 15:37 +0200
http://bitbucket.org/pypy/pypy/changeset/649d62298da1/

Log:    add a passing test:

diff --git a/pypy/module/_fastjson/test/test__fastjson.py 
b/pypy/module/_fastjson/test/test__fastjson.py
--- a/pypy/module/_fastjson/test/test__fastjson.py
+++ b/pypy/module/_fastjson/test/test__fastjson.py
@@ -106,5 +106,6 @@
                                       'aaa': 'bbb'}
 
     def test_decode_object_nonstring_key(self):
-        pass # write me when we have numbers
-    
+        import _fastjson
+        raises(ValueError, "_fastjson.loads('{42: 43}')")
+        
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to