Skip to content

Commit 97e075b

Browse files
committed
Make the extended test more strict
1 parent 01337cf commit 97e075b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Lib/test/test_traceback.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4264,8 +4264,10 @@ class B:
42644264
attr_µ = None # attr_\xb5
42654265

42664266
suggestion = self.get_suggestion(B(), 'attr_\xb5')
4267-
self.assertIn("'.attr_\u03bc' ('attr_\\u03bc')", suggestion)
4268-
self.assertIn("'.attr_\xb5' ('attr_\\xb5')", suggestion)
4267+
self.assertIn(
4268+
"'.attr_\u03bc' ('attr_\\u03bc') "
4269+
"instead of '.attr_\xb5' ('attr_\\xb5')",
4270+
suggestion)
42694271
self.assertNotIn("attr_a", suggestion)
42704272

42714273

0 commit comments

Comments
 (0)