(self)
| 1139 | self.assertFailure('2004', '1', '1', 'spam') |
| 1140 | |
| 1141 | def test_output_current_year(self): |
| 1142 | for run in self.runners: |
| 1143 | output = run() |
| 1144 | year = datetime.datetime.now().year |
| 1145 | self.assertIn(conv(' %s' % year), output) |
| 1146 | self.assertIn(b'January', output) |
| 1147 | self.assertIn(b'Mo Tu We Th Fr Sa Su', output) |
| 1148 | |
| 1149 | def test_output_year(self): |
| 1150 | for run in self.runners: |