Author: mattip <[email protected]>
Branch: 
Changeset: r60914:f9b0d0e350a8
Date: 2013-02-06 22:51 +0200
http://bitbucket.org/pypy/pypy/changeset/f9b0d0e350a8/

Log:    add test that goes through runicode.ord_accepts_surrogate

diff --git a/pypy/module/unicodedata/test/test_unicodedata.py 
b/pypy/module/unicodedata/test/test_unicodedata.py
--- a/pypy/module/unicodedata/test/test_unicodedata.py
+++ b/pypy/module/unicodedata/test/test_unicodedata.py
@@ -102,3 +102,7 @@
         import unicodedata
         # For no reason, unicodedata.mirrored() returns an int, not a bool
         assert repr(unicodedata.mirrored(u' ')) == '0'
+
+    def test_bidirectional(self):
+        import unicodedata
+        raises(ValueError, unicodedata.bidirectional, u'xx')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to