diff options
Diffstat (limited to 'Lib/test/test_inspect.py')
| -rw-r--r-- | Lib/test/test_inspect.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index 6f813be..13db79a 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -3153,8 +3153,7 @@ class TestBoundArguments(unittest.TestCase): def foo(a, b, *, c:1={}, **kw) -> {42:'ham'}: pass sig = inspect.signature(foo) ba = sig.bind(20, 30, z={}) - self.assertRegex(repr(ba), - r'<BoundArguments at 0x[a-fA-F0-9]+ \(a=20,.*\}\}\)>') + self.assertRegex(repr(ba), r'<BoundArguments \(a=20,.*\}\}\)>') class TestSignaturePrivateHelpers(unittest.TestCase): |
