Author: Carl Friedrich Bolz-Tereick <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit