Blame tests/run/import_error_T734.py
|
Packit |
562c7a |
# mode: run
|
|
Packit |
562c7a |
# ticket: 734
|
|
Packit |
562c7a |
|
|
Packit |
562c7a |
def test_import_error():
|
|
Packit |
562c7a |
"""
|
|
Packit |
562c7a |
>>> test_import_error() # doctest: +ELLIPSIS
|
|
Packit |
562c7a |
Traceback (most recent call last):
|
|
Packit |
562c7a |
ImportError: cannot import name ...xxx...
|
|
Packit |
562c7a |
"""
|
|
Packit |
562c7a |
from sys import xxx
|