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

Method test_option_spacing

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

Source from the content-addressed store, hash-verified

1203 self.assertIn(conv('December\n\nMo Tu We'), output)
1204
1205 def test_option_spacing(self):
1206 self.assertFailure('-s')
1207 self.assertFailure('--spacing')
1208 self.assertFailure('-s', 'spam')
1209 for run in self.runners:
1210 output = run('--spacing', '8', '2004')
1211 self.assertIn(b'Su Mo', output)
1212
1213 def test_option_months(self):
1214 self.assertFailure('-m')

Callers

nothing calls this directly

Calls 3

assertFailureMethod · 0.95
assertInMethod · 0.80
runFunction · 0.70

Tested by

no test coverage detected