summaryrefslogtreecommitdiff
path: root/tests/functional/i/isinstance_second_argument.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow instances of tuple of the isinstance() type check (#3425)Claudiu Popa2020-02-271-3/+5
| | | | | astroid can either infer a tuple call as a `Tuple()` node on successful inference or it can infer the call as an `Instance` of the builtin tuple object, on unsuccessful inference.
* Allow isinstance-second-argument-not-valid-type to catch more casesClaudiu Popa2020-02-131-0/+1
|
* Add warning for the case where second argument to isinstance is not a type ↵Anubhav2020-02-131-0/+28
(#3404) The second argument to isinstance must be either a type or a tuple of types. Close #3308 Co-authored-by: Claudiu Popa <pcmanticore@gmail.com>