@@ -51,7 +51,7 @@ def _assertInExceptionAndLog(self, xml: str, strings: Union[Iterable[str], str],
5151 read_aas_xml_file (bytes_io , failsafe = False )
5252 cause = _root_cause (err_ctx .exception )
5353 for s in strings :
54- self .assertIn (s , log_ctx .output [0 ]) # type: ignore
54+ self .assertIn (s , log_ctx .output [0 ])
5555 self .assertIn (s , str (cause ))
5656
5757 def test_malformed_xml (self ) -> None :
@@ -173,7 +173,7 @@ def test_reference_kind_mismatch(self) -> None:
173173 with self .assertLogs (logging .getLogger (), level = logging .WARNING ) as context :
174174 read_aas_xml_file (io .BytesIO (xml .encode ("utf-8" )), failsafe = False )
175175 for s in ("SUBMODEL" , "http://acplt.org/test_ref" , "AssetAdministrationShell" ):
176- self .assertIn (s , context .output [0 ]) # type: ignore
176+ self .assertIn (s , context .output [0 ])
177177
178178 def test_invalid_submodel_element (self ) -> None :
179179 xml = _xml_wrap ("""
@@ -255,7 +255,7 @@ def test_operation_variable_too_many_submodel_elements(self) -> None:
255255 """ )
256256 with self .assertLogs (logging .getLogger (), level = logging .WARNING ) as context :
257257 read_aas_xml_file (io .BytesIO (xml .encode ("utf-8" )), failsafe = False )
258- self .assertIn ("aas:value" , context .output [0 ]) # type: ignore
258+ self .assertIn ("aas:value" , context .output [0 ])
259259 self .assertIn ("more than one submodel element" , context .output [0 ])
260260
261261 def test_duplicate_identifier (self ) -> None :
0 commit comments