[pypy-commit] pypy py3.7: slight variant in error msg
cfbolz
pypy.commits at gmail.com
Fri Jan 31 16:48:46 EST 2020
Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
Branch: py3.7
Changeset: r98620:8d3b5e787554
Date: 2020-01-31 22:33 +0100
http://bitbucket.org/pypy/pypy/changeset/8d3b5e787554/
Log: slight variant in error msg
diff --git a/lib-python/3/test/test_dataclasses.py b/lib-python/3/test/test_dataclasses.py
--- a/lib-python/3/test/test_dataclasses.py
+++ b/lib-python/3/test/test_dataclasses.py
@@ -3015,7 +3015,7 @@
lambda x:x,
]:
with self.subTest(bad_field=bad_field):
- with self.assertRaisesRegex(TypeError, r'has no len\(\)'):
+ with self.assertRaisesRegex(TypeError, r'has no len.*'):
make_dataclass('C', ['a', bad_field])
def test_duplicate_field_names(self):
More information about the pypy-commit
mailing list