summaryrefslogtreecommitdiff
path: root/tests/functional
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-10-15 20:53:22 +0200
committerGitHub <noreply@github.com>2021-10-15 20:53:22 +0200
commit48fbea4656c912e7673e13e050bad6e9e756b5c5 (patch)
treef642ca3adfd52b5c5c66303df73101a0f3d7463f /tests/functional
parentb1c4735d2897c55e16c5c14b3926ba4b676df8c7 (diff)
downloadpylint-git-48fbea4656c912e7673e13e050bad6e9e756b5c5.tar.gz
Use py-version for alternative union syntax check (#5160)
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/a/alternative/alternative_union_syntax.rc3
-rw-r--r--tests/functional/a/alternative/alternative_union_syntax_error.rc4
-rw-r--r--tests/functional/a/alternative/alternative_union_syntax_py37.rc4
3 files changed, 9 insertions, 2 deletions
diff --git a/tests/functional/a/alternative/alternative_union_syntax.rc b/tests/functional/a/alternative/alternative_union_syntax.rc
index 68a8c8ef1..595070b48 100644
--- a/tests/functional/a/alternative/alternative_union_syntax.rc
+++ b/tests/functional/a/alternative/alternative_union_syntax.rc
@@ -1,2 +1,5 @@
+[master]
+py-version=3.10
+
[testoptions]
min_pyver=3.10
diff --git a/tests/functional/a/alternative/alternative_union_syntax_error.rc b/tests/functional/a/alternative/alternative_union_syntax_error.rc
index 776b99f68..ca4c715a7 100644
--- a/tests/functional/a/alternative/alternative_union_syntax_error.rc
+++ b/tests/functional/a/alternative/alternative_union_syntax_error.rc
@@ -1,3 +1,5 @@
+[master]
+py-version=3.8
+
[testoptions]
min_pyver=3.8
-max_pyver=3.10
diff --git a/tests/functional/a/alternative/alternative_union_syntax_py37.rc b/tests/functional/a/alternative/alternative_union_syntax_py37.rc
index 776b99f68..ca4c715a7 100644
--- a/tests/functional/a/alternative/alternative_union_syntax_py37.rc
+++ b/tests/functional/a/alternative/alternative_union_syntax_py37.rc
@@ -1,3 +1,5 @@
+[master]
+py-version=3.8
+
[testoptions]
min_pyver=3.8
-max_pyver=3.10