[pypy-commit] pypy unicode-utf8: add passing test
mattip
pypy.commits at gmail.com
Fri Jan 18 06:32:23 EST 2019
Author: Matti Picus <matti.picus at gmail.com>
Branch: unicode-utf8
Changeset: r95667:6124fb988a60
Date: 2019-01-18 12:49 +0200
http://bitbucket.org/pypy/pypy/changeset/6124fb988a60/
Log: add passing test
diff --git a/pypy/module/_sre/test/test_app_sre.py b/pypy/module/_sre/test/test_app_sre.py
--- a/pypy/module/_sre/test/test_app_sre.py
+++ b/pypy/module/_sre/test/test_app_sre.py
@@ -150,6 +150,11 @@
import re, _weakref
_weakref.ref(re.compile(r""))
+ def test_match_compat(self):
+ import re
+ res = re.match(r'(a)|(b)', 'b').start(1)
+ assert res == -1
+
class AppTestSreMatch:
spaceconfig = dict(usemodules=('array', ))
More information about the pypy-commit
mailing list