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:
Taus
2022-11-16 22:20:08 +00:00
parent 81348049df
commit 8ed8161d5c

View File

@@ -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) {
(