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

Method test_illegal_arguments

Lib/test/test_calendar.py:1133–1139  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1131 self.assertIn(b'--help', output)
1132
1133 def test_illegal_arguments(self):
1134 self.assertFailure('-z')
1135 self.assertFailure('spam')
1136 self.assertFailure('2004', 'spam')
1137 self.assertFailure('2004', '1', 'spam')
1138 self.assertFailure('2004', '1', '1')
1139 self.assertFailure('2004', '1', '1', 'spam')
1140
1141 def test_output_current_year(self):
1142 for run in self.runners:

Callers

nothing calls this directly

Calls 1

assertFailureMethod · 0.95

Tested by

no test coverage detected