mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #25548: Showing memory address of class objects in repl
This commit is contained in:
parent
409482251b
commit
5801ecb440
20 changed files with 106 additions and 92 deletions
|
@ -775,8 +775,8 @@ class SimpleServerTestCase(BaseServerTestCase):
|
|||
# 'method "this_is_not_exists" is not supported'>}]
|
||||
|
||||
self.assertEqual(result.results[0]['faultCode'], 1)
|
||||
self.assertEqual(result.results[0]['faultString'],
|
||||
'<class \'Exception\'>:method "this_is_not_exists" '
|
||||
self.assertRegex(result.results[0]['faultString'],
|
||||
'<class \'Exception\' at 0x.+>:method "this_is_not_exists" '
|
||||
'is not supported')
|
||||
except (xmlrpclib.ProtocolError, OSError) as e:
|
||||
# ignore failures due to non-blocking socket 'unavailable' errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue