FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Revert "gh-69714: Add more test cases to `calendar` cmdline" · bxsx/cpython@ab5a508 · GitHub

Repository navigation

Commit ab5a508

Browse files
committed
Revert "pythongh-69714: Add more test cases to calendar cmdline"
These tests are now part of `test_illegal_arguments`. This reverts commit 238c527.
1 parent de21a51 commit ab5a508

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎Lib/test/test_calendar.py‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -985,15 +985,6 @@ def test_illegal_arguments(self):
985985
self.assertFailure('2004', '1', '1', 'spam')
986986
self.assertFailure('-t', 'html', '2004', '1')
987987

988-
def test_too_many_arguments(self):
989-
stderr = self.assertCmdFails('--type', 'html', '2004', '5')[2]
990-
self.assertIn(b'error', stderr)
991-
self.assertIn(b'incorrect number of arguments', stderr)
992-
993-
stderr = self.assertCLIFails('--type', 'html', '2004', '5')
994-
self.assertIn(b'error', stderr)
995-
self.assertIn(b'incorrect number of arguments', stderr)
996-
997988
def test_output_current_year(self):
998989
for run in self.runners:
999990
output = run()

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL