mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Python: Fix tests for Python 2
This should make it so that the `prints3` tag is skipped when running then Python 2 Language tests.
This commit is contained in:
@@ -96,7 +96,7 @@ class ResolutionTest extends InlineExpectationsTest {
|
||||
class ResolutionTest3 extends InlineExpectationsTest {
|
||||
ResolutionTest3() { this = "ResolutionTest3" }
|
||||
|
||||
override string getARelevantTag() { result = "prints3" }
|
||||
override string getARelevantTag() { result = "prints3" and major_version() = 3 }
|
||||
|
||||
override predicate hasActualResult(Location location, string element, string tag, string value) {
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user