(self)
| 1438 | self.assertEqual(output.rstrip(), b'a\xffb') |
| 1439 | |
| 1440 | def test_prints_usage_with_help_flag(self): |
| 1441 | output = self.get_output('-h') |
| 1442 | self.assertIn(b'usage: ', output) |
| 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 |
nothing calls this directly
no test coverage detected