summaryrefslogtreecommitdiff
path: root/astroid/tests/testdata/python3/data
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.
* Replace the use of print in python3/data/module.py, since it complicates the ↵Claudiu Popa2015-10-221-5/+3
| | | | testing of as_string.
* Fix SyntaxError on Python 2 for print functionuse_print_functionJohn Vandenberg2015-10-191-0/+1
|
* MergeClaudiu Popa2015-07-251-0/+0
|\
| * Add option to search for all Python files in get_module_filesRados?aw Ganczarek2015-07-251-0/+0
| |
* | Get rid of logilab.common.shellutils in test data.Florian Bruhin2015-07-251-1/+1
|/ | | | | Instead of logilab.common.shellutils.ProgressBar we use astroid.node_classes.Name now.
* astroid.inspector was moved to pylint.pyreverse.Claudiu Popa2015-06-172-45/+0
| | | | | | | This was moved since it is the only known client of this module. No other change was made to the exported API. This doesn't go through a normal deprecation cycle, since I really want to clean it up at a faster pace.
* Work around the Python 2 part of issue ↵platings2015-03-121-0/+1
| | | | https://bitbucket.org/logilab/astroid/issue/72/installing-astroid-via-setuptools-as-a
* Add the ability to optimize small ast subtrees.Claudiu Popa2015-01-181-0/+1051
| | | | | | | | The first use of the AST peephole optimizer is the optimization of multiple BinOp nodes. This removes recursivity in the rebuilder when dealing with a lot of small strings joined by the addition operator. which are now precomputed to the final string. Closes issue #59.
* Merge all test data into a single package per Python version.Torsten Marek2014-11-0940-0/+557
Also modernized a lot of test code. This makes it possible to run the tests from both the base directory of the project as well as the astroid package. Since the packages have the same name for Python 2 and 3, there is less version-dependent code in the tests.