Skip to content

Commit 01337cf

Browse files
committed
Extend the normalized suggestions test
1 parent c973a52 commit 01337cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_traceback.py

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

42664266
suggestion = self.get_suggestion(B(), 'attr_\xb5')
4267-
self.assertIn("'.attr_\u03bc'", suggestion)
4268-
self.assertIn(r"'attr_\u03bc'", suggestion)
4267+
self.assertIn("'.attr_\u03bc' ('attr_\\u03bc')", suggestion)
4268+
self.assertIn("'.attr_\xb5' ('attr_\\xb5')", suggestion)
42694269
self.assertNotIn("attr_a", suggestion)
42704270

42714271

0 commit comments

Comments
 (0)