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 <1369159047.92.0.373066903096.issue15392@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
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: <1369159047.92.0.373066903096.issue15392@psf.upfronthosting.co.za>
2013-05-21 17:57:27r.david.murraylinkissue15392 messages
2013-05-21 17:57:27r.david.murraycreate