Message189775
regrtest now works for me, as does running test_idle.py directly and the simple minded unittest call:
./python -m unittest test.test_idle
However, running an individual test doesn't. I don't see this as a show-stopper for committing this, but rather something we should figure out how to fix later.
rdmurray@hey:~/python/p34>./python -m unittest test.test_idle
...
----------------------------------------------------------------------
Ran 3 tests in 0.003s
OK
rdmurray@hey:~/python/p34>./python -m unittest -v test.test_idle
test_bad_entity (idlelib.idle_test.test_calltips.Test_get_entity) ... ok
test_good_entity (idlelib.idle_test.test_calltips.Test_get_entity) ... ok
test_DirBrowserTreeItem (idlelib.idle_test.test_pathbrowser.PathBrowserTest) ... ok
----------------------------------------------------------------------
Ran 3 tests in 0.004s
OK
rdmurray@hey:~/python/p34>./python -m unittest -v test.test_idle.idlelib.idle_test.test_calltips.Test_get_entity.test_bad_entity
Traceback (most recent call last):
File "/home/rdmurray/python/p34/Lib/runpy.py", line 160, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/home/rdmurray/python/p34/Lib/runpy.py", line 73, in _run_code
exec(code, run_globals)
File "/home/rdmurray/python/p34/Lib/unittest/__main__.py", line 19, in <module>
main(module=None)
File "/home/rdmurray/python/p34/Lib/unittest/main.py", line 124, in __init__
self.parseArgs(argv)
File "/home/rdmurray/python/p34/Lib/unittest/main.py", line 171, in parseArgs
self.createTests()
File "/home/rdmurray/python/p34/Lib/unittest/main.py", line 178, in createTests
self.module)
File "/home/rdmurray/python/p34/Lib/unittest/loader.py", line 145, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/home/rdmurray/python/p34/Lib/unittest/loader.py", line 145, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
File "/home/rdmurray/python/p34/Lib/unittest/loader.py", line 113, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'idlelib' |
|
Date |
User |
Action |
Args |
2013-05-21 17:57:27 | r.david.murray | set | recipients:
+ r.david.murray, terry.reedy, ncoghlan, ned.deily, ezio.melotti, roger.serwy, Todd.Rovito, tshepang, francismb, Guilherme.Simões, JayKrish, Tomoki.Imai, alex.rodas |
2013-05-21 17:57:27 | r.david.murray | set | messageid: <1369159047.92.0.373066903096.issue15392@psf.upfronthosting.co.za> |
2013-05-21 17:57:27 | r.david.murray | link | issue15392 messages |
2013-05-21 17:57:27 | r.david.murray | create | |
|