Skip to content

Commit eed4228

Browse files
ggqlqpicnixz
andauthored
Update Lib/test/test_httpservers.py
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 7b3bb1d commit eed4228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_httpservers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1703,7 +1703,7 @@ def test_help_flag(self, _):
17031703
@mock.patch('http.server.test')
17041704
def test_unknown_flag(self, _):
17051705
with self.assertRaises(SystemExit):
1706-
output = self.invoke_httpd('--unknown-flag')
1706+
_ = self.invoke_httpd('--unknown-flag')
17071707

17081708
class CommandLineRunTimeTestCase(unittest.TestCase):
17091709
random_data = os.urandom(1024)

0 commit comments

Comments
 (0)