summaryrefslogtreecommitdiff
path: root/astroid/tests/testdata/python2/data/invalid_encoding.py
Commit message (Collapse)AuthorAgeFilesLines
* Add two new exceptions, AstroidImportError and AstroidSyntaxError.Claudiu Popa2015-12-061-0/+1
They are subclasses of AstroidBuildingException and are raised when a module can't be imported from various reasons. Also do_import_module lets the errors to bubble up without converting them to InferenceError. This particular conversion happens only during the inference.