File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sdks/python/apache_beam/transforms Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2915,7 +2915,7 @@ class PTransformTypeAliasTest(unittest.TestCase):
29152915 @unittest .skipIf (sys .version_info < (3 , 12 ), "Python 3.12 required" )
29162916 def test_type_alias_statement_supported_in_with_output_types (self ):
29172917 ns = {}
2918- exec ("type InputType = tuple[int, ...]" , ns )
2918+ exec ("type InputType = tuple[int, ...]" , ns ) # pylint: disable=exec-used
29192919 InputType = ns ["InputType" ]
29202920
29212921 def print_element (element : InputType ) -> InputType :
@@ -2931,7 +2931,7 @@ def print_element(element: InputType) -> InputType:
29312931 @unittest .skipIf (sys .version_info < (3 , 12 ), "Python 3.12 required" )
29322932 def test_type_alias_supported_in_ptransform_with_output_types (self ):
29332933 ns = {}
2934- exec ("type OutputType = tuple[int, int]" , ns )
2934+ exec ("type OutputType = tuple[int, int]" , ns ) # pylint: disable=exec-used
29352935 OutputType = ns ["OutputType" ]
29362936
29372937 with beam .Pipeline () as p :
You can’t perform that action at this time.
0 commit comments