summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Function nodes can detect if they are decorated with subclasses of builtin ↵cpopa2014-05-071-0/+31
| | | | descriptors when determining their type (`classmethod` and `staticmethod`).
* Simplify the lookup for the metaclass; add comments for the YES node tests.ancestorscpopa2014-04-302-0/+2
|
* Merge with default.cpopa2014-04-291-0/+16
|\
| * Add future imports to Module.future_imports.Torsten Marek2014-04-251-0/+16
| |
* | Use specific assert in test, remove a required version.cpopa2014-04-252-3/+2
| |
* | Add tests for checking that YES is not leaked when retrieving the metaclass ↵cpopa2014-04-252-0/+20
| | | | | | | | of a Class node.
* | Look in ancestors when a class node doesn't use an explicitly defined ↵cpopa2014-04-252-0/+58
|/ | | | metaclass (the metaclass of a class is a metaclass for all its subclasses).
* test: stop using logilab.common.shellutils.ExecuteJulien Cristau2014-02-034-19/+19
| | | | Use a ProgressBar instead.
* Merge with default.cpopa2014-04-222-0/+24
|\
| * Skip the same infered nodes as the base class in _is_metaclass. Closes issue ↵cpopa2014-04-222-0/+24
| | | | | | | | #25.
* | Merged in PCManticore/astroid/ancestors (pull request #29)Sylvain Th?nault2014-04-171-0/+36
|\ \ | |/ |/| | | Unwrap instances found in `.ancestors()`, by using their _proxied class. Don't inherit the metaclass status if the current class can't be a metaclass.
| * Fix argument search for methods and classmethods.cpopa2014-04-131-0/+36
| |
* | Add note in test regarding the .ancestors() fix. Check the _type of a base ↵cpopa2014-04-151-0/+3
| | | | | | | | class before calling _is_metaclass again.
* | Unwrap instances found in `.ancestors()`, by using their _proxied class. ↵cpopa2014-04-122-0/+10
|/ | | | Don't inherit the metaclass status if the current class can't be a metaclass.
* Skip a test that uses multi-arg with on 2.6.Eevee (Alex Munroe)2014-03-211-0/+1
|
* fix failing test when the whole test are executed, due to caching issueSylvain Th?nault2014-04-081-0/+1
|
* fix crash when class has some __call__ method that is not inferable. Closes #17Sylvain Th?nault2014-04-081-1/+17
|
* delete trailing whitespacesSylvain Th?nault2014-04-081-7/+7
|
* Fix tests for Python 3 and Windows.cpopa2014-04-022-3/+10
|
* Backout changeset.cpopa2014-04-021-23/+1
|
* Merged logilab/astroid into defaultClaudiu Popa2014-04-023-39/+66
|\
| * Merged in flyingsheep/astroid (pull request #15)Sylvain Th?nault2014-03-267-44/+304
| |\ | | | | | | | | | AstroidBuilder.string_build was incompatible with file_stream
| | * call transformation for builtin modules as well (though not yet for their ↵Sylvain Th?nault2014-03-191-0/+13
| | | | | | | | | | | | child nodes)
| | * [test] fix unexpected replaceSylvain Th?nault2014-03-191-38/+38
| | |
| * | added unittests for file_streamPhil Schaf2013-11-252-1/+15
| | |
* | | Fix a false positive with builtin exceptions, by rewriting the `args` and ↵cpopa2014-03-081-1/+23
| |/ |/| | | | | `message` attributes with their real values.
* | Test fixes.cpopa2014-03-041-2/+2
| |
* | Drop yield_from API, add a new YieldFrom node instead.cpopa2014-03-041-10/+26
| |
* | Add yield_from property for Yield nodes.cpopa2014-03-021-2/+24
| |
* | Don't crash when inferring nodes from with statements, with multiple context ↵cpopa2014-02-221-0/+10
| | | | | | | | managers. Closes #18.
* | Move test to unittest_regrtest.cpopa2014-01-292-8/+10
| |
* | Fix test to take into account the new _sitebuiltins.cpopa2014-01-261-1/+6
| |
* | Merge with default.cpopa2014-01-264-9/+152
|\ \
| * | All class nodes are marked as new style classes for Py3k, closes #12.cpopa2014-01-163-8/+24
| | |
| * | Fix `as_string` for one element tuples.cpopa2013-12-271-0/+9
| | |
| * | Add Changelog entry regarding `metaclass`, add a new test for py3k.cpopa2013-12-181-1/+12
| | |
| * | Merged default into metaclassClaudiu Popa2013-12-182-1/+108
| |\ \
| | * | Don't use .body to retrieve the classes. Add test for parent metaclass.cpopa2013-10-181-5/+19
| | | |
| | * | Add tests for the metaclass and newstyle discovery.cpopa2013-08-141-0/+18
| | | |
| | * | Add test for .as_string.cpopa2013-08-141-0/+12
| | | |
| | * | Add tests.cpopa2013-08-132-1/+64
| | | |
* | | | Add support for ast NameConstant, added in Python 3.4.cpopa2013-12-161-0/+7
|/ / /
* | | Add support for inferring the arguments to namedtuple invocations, to ↵Torsten Marek2013-11-031-0/+25
| | | | | | | | | | | | | | | | | | | | | support cases like this: fields = ['a', 'b', 'c'] A = collections.namedtuple('A', fields)
* | | Make sure that the class object that is returned forTorsten Marek2013-11-031-1/+18
| |/ |/| | | | | namedtuple inference has a parent and add a unittest.
* | Merged in AndroWiiid/astroid/dev (pull request #12)Sylvain Th?nault2013-11-051-1/+1
|\ \ | | | | | | | | | Manager
| * | update to (theorically) supported python versionsSylvain Th?nault2013-11-051-1/+1
| | |
* | | Change indentation of unittest_raw_building.py tab to space.devAndroWiiid2013-11-041-38/+38
| | |
* | | Update unittest_manager and add some tests for raw_building.py file.AndroWiiid2013-10-292-7/+53
| | |
* | | Add some tests for AstroidManager class in unittest_manager.pyAndroWiiid2013-10-241-20/+104
|/ /
* | fix some test failures with pypy platform (one remaining)Sylvain Th?nault2013-10-182-4/+12
|/