File: bad_import.py

package info (click to toggle)
python-pyface 6.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,756 kB
  • sloc: python: 39,728; makefile: 79
file content (4 lines) | stat: -rw-r--r-- 160 bytes parent folder | download | duplicates (6)
1
2
3
4
# This is used to test what happens when there is an unrelated import error
# when importing a toolkit object

raise ImportError('No module named nonexistent')