File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -3920,7 +3920,7 @@ def test_Function_and_Parameter_reprs(self):
39203920 self .assertEqual (repr (parameter ), "<clinic.Parameter 'bar'>" )
39213921
39223922 def test_Monitor_repr (self ):
3923- monitor = clinic .cpp .Monitor ("test.c" )
3923+ monitor = libclinic .cpp .Monitor ("test.c" )
39243924 self .assertRegex (repr (monitor ), r"<clinic.Monitor \d+ line=0 condition=''>" )
39253925
39263926 monitor .line_number = 42
Original file line number Diff line number Diff line change 1313import collections
1414import contextlib
1515import copy
16- import cpp
1716import dataclasses as dc
1817import enum
1918import functools
5352
5453# Local imports.
5554import libclinic
55+ import libclinic .cpp
5656from libclinic import ClinicError
5757
5858
@@ -648,7 +648,7 @@ class CLanguage(Language):
648648
649649 def __init__ (self , filename : str ) -> None :
650650 super ().__init__ (filename )
651- self .cpp = cpp .Monitor (filename )
651+ self .cpp = libclinic . cpp .Monitor (filename )
652652
653653 def parse_line (self , line : str ) -> None :
654654 self .cpp .writeline (line )
Original file line number Diff line number Diff line change 33import sys
44from typing import NoReturn
55
6- from libclinic .errors import ParseError
6+ from .errors import ParseError
7+
8+
9+ __all__ = ["Monitor" ]
710
811
912TokenAndCondition = tuple [str , str ]
You can’t perform that action at this time.
0 commit comments