-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move various tests from
TestTypeChecker
to functional tests (#5455)
* Remove duplicate test already in 'not_context_manager.py'
- Loading branch information
1 parent
8f12337
commit 35813de
Showing
6 changed files
with
111 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
invalid-metaclass:37:0:38:8:FirstInvalid:Invalid metaclass 'int' used:UNDEFINED | ||
invalid-metaclass:41:0:42:8:SecondInvalid:Invalid metaclass 'InvalidAsMetaclass' used:UNDEFINED | ||
invalid-metaclass:45:0:46:8:ThirdInvalid:Invalid metaclass '2' used:UNDEFINED | ||
invalid-metaclass:49:0:50:8:FourthInvalid:Invalid metaclass 'Instance of invalid_metaclass.InvalidAsMetaclass' used:UNDEFINED | ||
invalid-metaclass:61:0:62:8:Invalid:Invalid metaclass 'int' used:UNDEFINED | ||
invalid-metaclass:65:0:66:8:InvalidSecond:Invalid metaclass '1' used:UNDEFINED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
not-callable:5:0:5:10::REVISION is not callable:UNDEFINED | ||
not-callable:23:12:23:22::INSTANCE is not callable:UNDEFINED | ||
not-callable:25:12:25:18::LIST is not callable:UNDEFINED | ||
not-callable:27:12:27:18::DICT is not callable:UNDEFINED | ||
not-callable:29:12:29:19::TUPLE is not callable:UNDEFINED | ||
not-callable:31:12:31:17::INT is not callable:UNDEFINED | ||
not-callable:66:0:66:13::PROP.test is not callable:UNDEFINED | ||
not-callable:67:0:67:13::PROP.custom is not callable:UNDEFINED | ||
not-callable:135:18:135:45::ClassWithProperty().value is not callable:UNDEFINED | ||
not-callable:6:0:6:10::REVISION is not callable:UNDEFINED | ||
not-callable:24:12:24:22::INSTANCE is not callable:UNDEFINED | ||
not-callable:26:12:26:18::LIST is not callable:UNDEFINED | ||
not-callable:28:12:28:18::DICT is not callable:UNDEFINED | ||
not-callable:30:12:30:19::TUPLE is not callable:UNDEFINED | ||
not-callable:32:12:32:17::INT is not callable:UNDEFINED | ||
not-callable:67:0:67:13::PROP.test is not callable:UNDEFINED | ||
not-callable:68:0:68:13::PROP.custom is not callable:UNDEFINED | ||
not-callable:137:18:137:45::ClassWithProperty().value is not callable:UNDEFINED | ||
not-callable:190:0:190:16::get_number(10) is not callable:UNDEFINED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"""Tests for unscubscriptable-object""" | ||
|
||
# Test for typing.NamedTuple | ||
# See: https://github.com/PyCQA/pylint/issues/1295 | ||
import typing | ||
|
||
MyType = typing.Tuple[str, str] |