Author: Matti Picus <[email protected]>
Branch:
Changeset: r96122:789d5650e3af
Date: 2019-02-21 12:56 +0200
http://bitbucket.org/pypy/pypy/changeset/789d5650e3af/
Log: fix
diff --git a/rpython/rlib/test/test_rutf8.py b/rpython/rlib/test/test_rutf8.py
--- a/rpython/rlib/test/test_rutf8.py
+++ b/rpython/rlib/test/test_rutf8.py
@@ -200,7 +200,7 @@
def test_utf8_string_builder_bad_code():
s = rutf8.Utf8StringBuilder()
- with pytest.raises(ValueError):
+ with pytest.raises(rutf8.OutOfRange):
s.append_code(0x110000)
assert s.build() == ''
assert s.getlength() == 0
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit