Skip to content

Commit 8ed8161

Browse files
committed
Python: Fix tests for Python 2
This should make it so that the `prints3` tag is skipped when running then Python 2 Language tests.
1 parent 8134804 commit 8ed8161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/test/experimental/import-resolution/importflow.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class ResolutionTest extends InlineExpectationsTest {
9696
class ResolutionTest3 extends InlineExpectationsTest {
9797
ResolutionTest3() { this = "ResolutionTest3" }
9898

99-
override string getARelevantTag() { result = "prints3" }
99+
override string getARelevantTag() { result = "prints3" and major_version() = 3 }
100100

101101
override predicate hasActualResult(Location location, string element, string tag, string value) {
102102
(

0 commit comments

Comments
 (0)