@@ -28,7 +28,7 @@ class CheckImportsTest(unittest.TestCase):
2828 'test' , 'fixtures' , 'tools' , 'checkimports' )
2929
3030 def test_unused_and_unsorted (self ):
31- with captured_output () as (out , err ):
31+ with captured_output () as (out , _err ):
3232 self .assertEqual (is_valid (path .join (self .fixturesDir , 'invalid.cc' )),
3333 False )
3434 output = out .getvalue ()
@@ -42,21 +42,21 @@ def test_unused_and_unsorted(self):
4242 output );
4343
4444 def test_unused_complex (self ):
45- with captured_output () as (out , err ):
45+ with captured_output () as (out , _err ):
4646 self .assertEqual (is_valid (path .join (self .fixturesDir , 'maybe.cc' )),
4747 False )
4848 output = out .getvalue ()
4949 self .assertIn ('does not use "Local"' , output );
5050
5151 def test_unused_simple (self ):
52- with captured_output () as (out , err ):
52+ with captured_output () as (out , _err ):
5353 self .assertEqual (is_valid (path .join (self .fixturesDir , 'unused.cc' )),
5454 False )
5555 output = out .getvalue ()
5656 self .assertIn ('does not use "Context"' , output );
5757
5858 def test_unsorted (self ):
59- with captured_output () as (out , err ):
59+ with captured_output () as (out , _err ):
6060 self .assertEqual (is_valid (path .join (self .fixturesDir , 'unsorted.cc' )),
6161 False )
6262 output = out .getvalue ()
@@ -67,7 +67,7 @@ def test_unsorted(self):
6767 output );
6868
6969 def test_valid (self ):
70- with captured_output () as (out , err ):
70+ with captured_output () as (out , _err ):
7171 self .assertEqual (is_valid (path .join (self .fixturesDir , 'valid.cc' )),
7272 True )
7373 output = out .getvalue ()
0 commit comments