commit | afd5ce18143179b74129572d1df43f3643e35a08 | [log] [tgz] |
---|---|---|
author | Anthony Baxter <anthonybaxter@gmail.com> | Tue Aug 03 11:14:19 2004 +0000 |
committer | Anthony Baxter <anthonybaxter@gmail.com> | Tue Aug 03 11:14:19 2004 +0000 |
tree | 93141af53ea4dd2361372abf1c4e80508ceed02d | |
parent | 5bf2516807d9d04654b15ea4dfd03bbf52db94fb [diff] [blame] |
nice tests dont leave little suprises in the environ
diff --git a/Lib/test/test_getopt.py b/Lib/test/test_getopt.py index 0470851..da53593 100644 --- a/Lib/test/test_getopt.py +++ b/Lib/test/test_getopt.py
@@ -124,6 +124,7 @@ opts, args = getopt.gnu_getopt(cmdline, 'ab:', ['alpha', 'beta=']) verify(opts == [('-a', '')]) verify(args == ['arg1', '-b', '1', '--alpha', '--beta=2']) +del os.environ["POSIXLY_CORRECT"] #------------------------------------------------------------------------------