This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Improved test coverage for calendar.py command line
Type: enhancement Stage: resolved
Components: Tests Versions: Python 3.4, Python 3.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: Thana Annis, berker.peksag, brett.cannon, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2015-03-29 15:42 by Thana Annis, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_calendar.patch Thana Annis, 2015-03-29 15:42 review
Messages (4)
msg239494 - (view) Author: Thana Annis (Thana Annis) * Date: 2015-03-29 15:42
Added a test to ensure that --locale cannot be called without --encoding. This is targeting lines 654-656 of calendar.py.
msg239507 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2015-03-29 19:01
Thanks for the patch! I thought line 654-656 was already tested by self.assertFailure('-L', 'en').
msg239609 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-03-30 13:49
Yes, self.assertFailure('-L', 'en') tests this case.
msg240282 - (view) Author: Thana Annis (Thana Annis) * Date: 2015-04-08 19:31
Thanks for the quick response. You're right that this is already being tested for, so I will close the issue.
History
Date User Action Args
2022-04-11 14:58:14adminsetgithub: 67995
2015-04-08 19:34:16berker.peksagsetstage: patch review -> resolved
2015-04-08 19:31:34Thana Annissetstatus: open -> closed
resolution: not a bug
messages: + msg240282
2015-03-30 13:49:23serhiy.storchakasetmessages: + msg239609
2015-03-30 13:44:12brett.cannonsetnosy: + brett.cannon
2015-03-29 19:01:47berker.peksagsetversions: + Python 3.4
nosy: + berker.peksag, serhiy.storchaka

messages: + msg239507

stage: patch review
2015-03-29 15:42:19Thana Anniscreate