New submission from Arfrever Frehtes Taifersar Arahesis
<[email protected]>:
$ python3.3 -B -m test.test_argparse
...
======================================================================
FAIL: test_failures_many_groups_listargs (__main__.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.3/test/test_argparse.py", line 216, in wrapper
test_func(self)
File "/usr/lib64/python3.3/test/test_argparse.py", line 235, in test_failures
raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args
======================================================================
FAIL: test_failures_many_groups_sysargs (__main__.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.3/test/test_argparse.py", line 216, in wrapper
test_func(self)
File "/usr/lib64/python3.3/test/test_argparse.py", line 235, in test_failures
raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args
======================================================================
FAIL: test_failures_no_groups_listargs (__main__.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.3/test/test_argparse.py", line 216, in wrapper
test_func(self)
File "/usr/lib64/python3.3/test/test_argparse.py", line 235, in test_failures
raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args
======================================================================
FAIL: test_failures_no_groups_sysargs (__main__.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.3/test/test_argparse.py", line 216, in wrapper
test_func(self)
File "/usr/lib64/python3.3/test/test_argparse.py", line 235, in test_failures
raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args
======================================================================
FAIL: test_failures_one_group_listargs (__main__.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.3/test/test_argparse.py", line 216, in wrapper
test_func(self)
File "/usr/lib64/python3.3/test/test_argparse.py", line 235, in test_failures
raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args
======================================================================
FAIL: test_failures_one_group_sysargs (__main__.TestFileTypeW)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.3/test/test_argparse.py", line 216, in wrapper
test_func(self)
File "/usr/lib64/python3.3/test/test_argparse.py", line 235, in test_failures
raises(ArgumentParserError, parser.parse_args, args)
AssertionError: ArgumentParserError not raised by parse_args
----------------------------------------------------------------------
Ran 1611 tests in 8.405s
FAILED (failures=6)
Traceback (most recent call last):
File "/usr/lib64/python3.3/runpy.py", line 160, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python3.3/runpy.py", line 73, in _run_code
exec(code, run_globals)
File "/usr/lib64/python3.3/test/test_argparse.py", line 4773, in <module>
test_main()
File "/usr/lib64/python3.3/test/test_argparse.py", line 4765, in test_main
support.run_unittest(__name__)
File "/usr/lib64/python3.3/test/support.py", line 1402, in run_unittest
_run_suite(suite)
File "/usr/lib64/python3.3/test/support.py", line 1377, in _run_suite
raise TestFailed(err)
test.support.TestFailed: multiple errors occurred
----------
components: Tests
keywords: easy
messages: 147602
nosy: Arfrever, bethard
priority: normal
severity: normal
status: open
title: test_argparse fails with root permissions
versions: Python 2.7, Python 3.2, Python 3.3
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13401>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com