Lines Matching refs:std_name
2818 def __init__(self, test_class, func_suffix, std_name):
2820 self.std_name = std_name
2877 old_stream = getattr(sys, self.std_name)
2878 setattr(sys, self.std_name, StdIOBuffer())
2881 parser_text = getattr(sys, self.std_name).getvalue()
2883 setattr(sys, self.std_name, old_stream)
2895 for func_suffix, std_name in [('usage', 'stdout'),
2898 AddTests(cls, func_suffix, std_name)