This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients Guilherme.Simões, JayKrish, Todd.Rovito, Tomoki.Imai, alex.rodas, ezio.melotti, francismb, ncoghlan, ned.deily, r.david.murray, roger.serwy, terry.reedy, tshepang
Date 2013-05-21.17:57:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
regrtest now works for me, as does running 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

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

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/", line 160, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/home/rdmurray/python/p34/Lib/", line 73, in _run_code
    exec(code, run_globals)
  File "/home/rdmurray/python/p34/Lib/unittest/", line 19, in <module>
  File "/home/rdmurray/python/p34/Lib/unittest/", line 124, in __init__
  File "/home/rdmurray/python/p34/Lib/unittest/", line 171, in parseArgs
  File "/home/rdmurray/python/p34/Lib/unittest/", line 178, in createTests
  File "/home/rdmurray/python/p34/Lib/unittest/", line 145, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/home/rdmurray/python/p34/Lib/unittest/", line 145, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/home/rdmurray/python/p34/Lib/unittest/", 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:27r.david.murraysetrecipients: + 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:27r.david.murraysetmessageid: <>
2013-05-21 17:57:27r.david.murraylinkissue15392 messages
2013-05-21 17:57:27r.david.murraycreate