summaryrefslogtreecommitdiff
path: root/astroid/test_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Initial formatting of astroidClaudiu Popa2018-10-021-10/+17
|
* Update the copyright noticesastroid-2.0Claudiu Popa2018-07-151-2/+5
|
* Keep f-strings out of here for now, we need 3.4 and 3.5 as wellClaudiu Popa2018-05-311-1/+3
|
* Remove reraise() in favour of using raise..fromClaudiu Popa2018-05-311-3/+2
|
* pyupgrade (#549)Anthony Sottile2018-05-221-1/+0
|
* Remove occurrences of no-else-return and consider-using-ternaryClaudiu Popa2016-12-181-11/+11
|
* Even more granular copyrights (thanks to copyrite)Claudiu Popa2016-07-221-2/+4
|
* Keep a consistent copyright notice across the board.Claudiu Popa2016-07-191-0/+2
|
* New function, astroid.extract_node, exported out from astroid.test_utils.Claudiu Popa2016-06-291-166/+0
|
* Fix typosJakub Wilk2016-06-021-1/+1
|
* Convert all files to new license headerCeridwen2016-05-161-0/+3
|
* Cleanup pylint's warnings over astroid codebaseClaudiu Popa2015-12-141-3/+5
| | | | | | | | | | Some of the messages were disabled in pylintrc, since they're not very useful for our case. Other parameters, such as the number of arguments / statements / attributes etc were configured so that they won't be too restrictive for our codebase, since making the code to respect them right now requires too much development changes, which is not justified by the end result. Closes issue #284.
* Enable the warnings in tests through a context managerClaudiu Popa2015-12-111-0/+14
| | | | | | | | Previously, we were enabling blindly all the warnings in tests files through `warnings.simplefilter`, which had the side effect of not taking into account the values of the -W flag. This meant that warnings which should have been silenced, weren't, leading to a huge output when running the tests with Python 3.5.
* Add helper function for reraising exceptionsCeridwen2015-09-211-5/+4
|
* Use six.reraise to avoid losing tracebacks for simple casesCeridwen2015-09-211-1/+5
|
* Remove debug statementsCeridwen2015-08-211-6/+0
|
* Fix isinstance/proxy bug by changing from lazy-object-proxy to wrapt and ↵Ceridwen2015-07-111-1/+0
| | | | minor fixes
* Merge logilab/astroid againCeridwen2015-07-111-17/+1
|\
| * Fix pylint issues.Claudiu Popa2015-07-111-1/+0
| |
| * Add a new convenience API, `astroid.parse`.Claudiu Popa2015-07-111-16/+1
| | | | | | | | | | | | This API can be used to retrieve an astroid AST from a source code string, similar to how ast.parse can be used to obtain a Python AST from a source string. This is the test_utils.build_module promoted to a public API.
* | Node constructors almost finished except for two bugsCeridwen2015-07-081-4/+10
|/
* Merge all test data into a single package per Python version.Torsten Marek2014-11-091-5/+7
| | | | | | | | | 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.
* Fix some of the issues around running test discover from the base directory ↵Torsten Marek2014-11-091-0/+3
| | | | of the project.
* Move all astroid modules into a its own directory, which is now the package.Torsten Marek2014-11-081-0/+213
python setup.py develop now works.