1# mode: run 2# ticket: 734 3 4def test_import_error(): 5 """ 6 >>> test_import_error() # doctest: +ELLIPSIS 7 Traceback (most recent call last): 8 ImportError: cannot import name ...xxx... 9 """ 10 from sys import xxx 11