Skip to content

Commit

Permalink
Remove weird test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielNoord committed Dec 23, 2024
1 parent 4915457 commit f23d897
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions tests/functional/n/no/no_member_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ def test_ignored_modules_root_one_applies_as_well() -> None:
argparse.submodule.THIS_does_not_EXIST


def test_ignored_modules_patterns() -> None:
import collections

collections.abc.THIS_does_not_EXIST


def test_ignored_classes_no_recursive_pattern() -> None:
import sys

Expand Down
2 changes: 1 addition & 1 deletion tests/functional/n/no/no_member_imports.rc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[TYPECHECK]
ignored-modules=argparse,xml.etree.,collections.abc*
ignored-modules=argparse,xml.etree.
ignored-classes=sys*,optparse.Values,Option
2 changes: 1 addition & 1 deletion tests/functional/n/no/no_member_imports.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
no-member:10:4:10:28:test_no_member_in_getattr:Module 'math' has no 'THIS_does_not_EXIST' member:INFERENCE
no-member:25:4:25:33:test_ignored_modules_invalid_pattern:Module 'xml.etree' has no 'THIS_does_not_EXIST' member:INFERENCE
no-member:44:4:44:27:test_ignored_classes_no_recursive_pattern:Module 'sys' has no 'THIS_does_not_EXIST' member:INFERENCE
no-member:38:4:38:27:test_ignored_classes_no_recursive_pattern:Module 'sys' has no 'THIS_does_not_EXIST' member:INFERENCE

0 comments on commit f23d897

Please sign in to comment.