mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
gh-113299: Move cpp.py into libclinic (#113526)
This commit is contained in:
parent
87295b4068
commit
7ab9efdd6a
3 changed files with 7 additions and 4 deletions
|
@ -3920,7 +3920,7 @@ class ClinicReprTests(unittest.TestCase):
|
|||
self.assertEqual(repr(parameter), "<clinic.Parameter 'bar'>")
|
||||
|
||||
def test_Monitor_repr(self):
|
||||
monitor = clinic.cpp.Monitor("test.c")
|
||||
monitor = libclinic.cpp.Monitor("test.c")
|
||||
self.assertRegex(repr(monitor), r"<clinic.Monitor \d+ line=0 condition=''>")
|
||||
|
||||
monitor.line_number = 42
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue