MCPcopy Index your code
hub / github.com/python/cpython / test_prints_usage_with_invalid_flag

Method test_prints_usage_with_invalid_flag

Lib/test/test_base64.py:1445–1448  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1443 self.assertIn(b'-d, -u: decode', output)
1444
1445 def test_prints_usage_with_invalid_flag(self):
1446 output = script_helper.assert_python_failure('-m', 'base64', '-x').err
1447 self.assertIn(b'usage: ', output)
1448 self.assertIn(b'-d, -u: decode', output)
1449
1450if __name__ == '__main__':
1451 unittest.main()

Callers

nothing calls this directly

Calls 2

assert_python_failureMethod · 0.80
assertInMethod · 0.80

Tested by

no test coverage detected