[pypy-commit] pypy default: fix
mattip
pypy.commits at gmail.com
Thu Feb 21 05:57:33 EST 2019
Author: Matti Picus <matti.picus at gmail.com>
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
More information about the pypy-commit
mailing list