@@ -125,7 +125,7 @@ def testHelpTextFunctionWithKwargsAndDefaults(self):
125125
126126 def testHelpTextFunctionWithDefaultsAndTypes (self ):
127127 component = (
128- tc .py3 .WithDefaultsAndTypes ().double ) # pytype: disable=module-attr
128+ tc .py3 .WithDefaultsAndTypes ().double )
129129 help_screen = helptext .HelpText (
130130 component = component ,
131131 trace = trace .FireTrace (component , name = 'double' ))
@@ -139,7 +139,7 @@ def testHelpTextFunctionWithDefaultsAndTypes(self):
139139
140140 def testHelpTextFunctionWithTypesAndDefaultNone (self ):
141141 component = (
142- tc .py3 .WithDefaultsAndTypes ().get_int ) # pytype: disable=module-attr
142+ tc .py3 .WithDefaultsAndTypes ().get_int )
143143 help_screen = helptext .HelpText (
144144 component = component ,
145145 trace = trace .FireTrace (component , name = 'get_int' ))
@@ -153,7 +153,7 @@ def testHelpTextFunctionWithTypesAndDefaultNone(self):
153153 self .assertNotIn ('NOTES' , help_screen )
154154
155155 def testHelpTextFunctionWithTypes (self ):
156- component = tc .py3 .WithTypes ().double # pytype: disable=module-attr
156+ component = tc .py3 .WithTypes ().double
157157 help_screen = helptext .HelpText (
158158 component = component ,
159159 trace = trace .FireTrace (component , name = 'double' ))
@@ -168,7 +168,7 @@ def testHelpTextFunctionWithTypes(self):
168168 help_screen )
169169
170170 def testHelpTextFunctionWithLongTypes (self ):
171- component = tc .py3 .WithTypes ().long_type # pytype: disable=module-attr
171+ component = tc .py3 .WithTypes ().long_type
172172 help_screen = helptext .HelpText (
173173 component = component ,
174174 trace = trace .FireTrace (component , name = 'long_type' ))
@@ -263,14 +263,14 @@ def testHelpTextNoInit(self):
263263 self .assertIn ('SYNOPSIS\n OldStyleEmpty' , help_screen )
264264
265265 def testHelpTextKeywordOnlyArgumentsWithDefault (self ):
266- component = tc .py3 .KeywordOnly .with_default # pytype: disable=module-attr
266+ component = tc .py3 .KeywordOnly .with_default
267267 output = helptext .HelpText (
268268 component = component , trace = trace .FireTrace (component , 'with_default' ))
269269 self .assertIn ('NAME\n with_default' , output )
270270 self .assertIn ('FLAGS\n -x, --x=X' , output )
271271
272272 def testHelpTextKeywordOnlyArgumentsWithoutDefault (self ):
273- component = tc .py3 .KeywordOnly .double # pytype: disable=module-attr
273+ component = tc .py3 .KeywordOnly .double
274274 output = helptext .HelpText (
275275 component = component , trace = trace .FireTrace (component , 'double' ))
276276 self .assertIn ('NAME\n double' , output )
0 commit comments