mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
Python: Don't filter subclass tests away
This commit is contained in:
@@ -514,5 +514,9 @@ where
|
||||
) and
|
||||
fullyQualifiedToYamlFormat(newModelFullyQualified, type2, path) and
|
||||
not Extensions::typeModel(spec, type2, path) and
|
||||
not newModelFullyQualified.regexpMatch("(?i).*tests?_?.*")
|
||||
(
|
||||
not newModelFullyQualified.regexpMatch("(?i).*tests?_?.*")
|
||||
or
|
||||
type2 = "find_subclass_test"
|
||||
)
|
||||
select spec.(string), type2, path
|
||||
|
||||
Reference in New Issue
Block a user