home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 April / PCWorld_2001-04_cd.bin / Software / TemaCD / webclean / !!!python!!! / BeOpen-Python-2.0.exe / TEST_EXCEPTIONS < prev    next >
Encoding:
Text File  |  2000-09-08  |  737 b   |  57 lines

  1. test_exceptions
  2. 5. Built-in exceptions
  3. spam
  4. AttributeError
  5. spam
  6. EOFError
  7. spam
  8. IOError
  9. spam
  10. ImportError
  11. spam
  12. IndexError
  13. spam
  14. KeyError
  15. spam
  16. KeyboardInterrupt
  17. (not testable in a script)
  18. spam
  19. MemoryError
  20. (not safe to test)
  21. spam
  22. NameError
  23. spam
  24. OverflowError
  25. spam
  26. RuntimeError
  27. (not used any more?)
  28. spam
  29. SyntaxError
  30. 'continue' not supported inside 'try' clause
  31. ok
  32. 'continue' not supported inside 'try' clause
  33. ok
  34. 'continue' not supported inside 'try' clause
  35. ok
  36. 'continue' not properly in loop
  37. ok
  38. 'continue' not properly in loop
  39. ok
  40. spam
  41. IndentationError
  42. spam
  43. TabError
  44. spam
  45. SystemError
  46. (hard to reproduce)
  47. spam
  48. SystemExit
  49. spam
  50. TypeError
  51. spam
  52. ValueError
  53. spam
  54. ZeroDivisionError
  55. spam
  56. Exception
  57.