mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
Issue #19928: Fix test on Windows
This commit is contained in:
parent
d082b68786
commit
ea6854a9ef
1 changed files with 2 additions and 2 deletions
|
@ -173,8 +173,8 @@ class ReprTests(unittest.TestCase):
|
|||
return x
|
||||
return inner
|
||||
x = get_cell().__closure__[0]
|
||||
self.assertRegex(repr(x),
|
||||
r'<cell at 0x[0-9a-f]+: int object at 0x[0-9a-f]+>')
|
||||
self.assertRegex(repr(x), r'<cell at 0x[0-9A-Fa-f]+: '
|
||||
r'int object at 0x[0-9A-Fa-f]+>')
|
||||
self.assertRegex(r(x), r'<cell at 0x.*\.\.\..*>')
|
||||
|
||||
def test_descriptors(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue