Skip to content

Commit dd0fd9c

Browse files
committed
Use a branch to test astoid fix
1 parent 5cae091 commit dd0fd9c

File tree

5 files changed

+4
-10
lines changed

5 files changed

+4
-10
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies = [
4141
# Also upgrade requirements_test_min.txt.
4242
# Pinned to dev of second minor update to allow editable installs and fix primer issues,
4343
# see https://github.com/pylint-dev/astroid/issues/1341
44-
"astroid>=3.3.5,<=4.0.0-dev0",
44+
"astroid @ git+https://github.com/danielnoord/astroid.git@collections-fix",
4545
"isort>=4.2.5,<6,!=5.13.0",
4646
"mccabe>=0.6,<0.8",
4747
"tomli>=1.1.0;python_version<'3.11'",

requirements_test_min.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.[testutils,spelling]
22
# astroid dependency is also defined in pyproject.toml
3-
astroid==3.3.5 # Pinned to a specific version for tests
3+
astroid @ git+https://github.com/danielnoord/astroid.git@collections-fix
44
typing-extensions~=4.12
55
py~=1.11.0
66
pytest~=8.3

tests/functional/n/no/no_member_imports.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ def test_ignored_modules_root_one_applies_as_well() -> None:
3232
argparse.submodule.THIS_does_not_EXIST
3333

3434

35-
def test_ignored_modules_patterns() -> None:
36-
import collections
37-
38-
collections.abc.THIS_does_not_EXIST
39-
40-
4135
def test_ignored_classes_no_recursive_pattern() -> None:
4236
import sys
4337

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[TYPECHECK]
2-
ignored-modules=argparse,xml.etree.,collections.abc*
2+
ignored-modules=argparse,xml.etree.
33
ignored-classes=sys*,optparse.Values,Option
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
no-member:10:4:10:28:test_no_member_in_getattr:Module 'math' has no 'THIS_does_not_EXIST' member:INFERENCE
22
no-member:25:4:25:33:test_ignored_modules_invalid_pattern:Module 'xml.etree' has no 'THIS_does_not_EXIST' member:INFERENCE
3-
no-member:44:4:44:27:test_ignored_classes_no_recursive_pattern:Module 'sys' has no 'THIS_does_not_EXIST' member:INFERENCE
3+
no-member:38:4:38:27:test_ignored_classes_no_recursive_pattern:Module 'sys' has no 'THIS_does_not_EXIST' member:INFERENCE

0 commit comments

Comments
 (0)