util.py 701 B

123456789101112131415161718192021
  1. """
  2. Idlelib objects with no external idlelib dependencies
  3. which are needed in more than one idlelib module.
  4. They are included here because
  5. a) they don't particularly belong elsewhere; or
  6. b) because inclusion here simplifies the idlelib dependency graph.
  7. TODO:
  8. * Python versions (editor and help_about),
  9. * tk version and patchlevel (pyshell, help_about, maxos?, editor?),
  10. * std streams (pyshell, run),
  11. * warning stuff (pyshell, run).
  12. """
  13. # .pyw is for Windows; .pyi is for stub files.
  14. py_extensions = ('.py', '.pyw', '.pyi') # Order needed for open/save dialogs.
  15. if __name__ == '__main__':
  16. from unittest import main
  17. main('idlelib.idle_test.test_util', verbosity=2)