diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-01-16 06:49:30 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-01-16 06:49:30 (GMT) |
commit | 4eb376c441f99e9ea50beae5309020a1469393ac (patch) | |
tree | 105bcf31b8d32853045c17bb3eebd80f1db01b73 /Lib/test/test_calendar.py | |
parent | 7978e10441e84482d3d28e7c449d68b77c6310b6 (diff) | |
download | cpython-4eb376c441f99e9ea50beae5309020a1469393ac.zip cpython-4eb376c441f99e9ea50beae5309020a1469393ac.tar.gz cpython-4eb376c441f99e9ea50beae5309020a1469393ac.tar.bz2 |
Issue #23883: Add missing APIs to calendar.__all__
Patch by Joel Taddei and Jacek KoĆodziej.
Diffstat (limited to 'Lib/test/test_calendar.py')
-rw-r--r-- | Lib/test/test_calendar.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Lib/test/test_calendar.py b/Lib/test/test_calendar.py index d9d3128..d95ad04 100644 --- a/Lib/test/test_calendar.py +++ b/Lib/test/test_calendar.py @@ -815,5 +815,14 @@ class CommandLineTestCase(unittest.TestCase): b'href="custom.css" />', stdout) +class MiscTestCase(unittest.TestCase): + def test__all__(self): + blacklist = {'error', 'mdays', 'January', 'February', 'EPOCH', + 'MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY', + 'SATURDAY', 'SUNDAY', 'different_locale', 'c', + 'prweek', 'week', 'format', 'formatstring', 'main'} + support.check__all__(self, calendar, blacklist=blacklist) + + if __name__ == "__main__": unittest.main() |