diff options
author | Steve Dower <steve.dower@microsoft.com> | 2017-02-04 15:05:50 -0800 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2017-02-04 15:05:50 -0800 |
commit | 3b0e4320092ac0504b6670cafaf0301b908c91fc (patch) | |
tree | d3be1b6b844d61763bb366fa21ceed475e5703fd /Lib/test/test_enum.py | |
parent | b2fa705fd3887c326e811c418469c784353027f4 (diff) | |
parent | f687fbcd73c14dfcbe086eb5cd94b298f1e81e72 (diff) | |
download | cpython-3b0e4320092ac0504b6670cafaf0301b908c91fc.tar.gz |
Issue #29392: Prevent crash when passing invalid arguments into msvcrt module.
Diffstat (limited to 'Lib/test/test_enum.py')
-rw-r--r-- | Lib/test/test_enum.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py index 13a89fc2db..a973081644 100644 --- a/Lib/test/test_enum.py +++ b/Lib/test/test_enum.py @@ -2409,6 +2409,8 @@ expected_help_output_with_docs = """\ Help on class Color in module %s: class Color(enum.Enum) + | Color(value, names=None, *, module=None, qualname=None, type=None, start=1) + |\x20\x20 | An enumeration. |\x20\x20 | Method resolution order: @@ -2446,6 +2448,8 @@ expected_help_output_without_docs = """\ Help on class Color in module %s: class Color(enum.Enum) + | Color(value, names=None, *, module=None, qualname=None, type=None, start=1) + |\x20\x20 | Method resolution order: | Color | enum.Enum |