diff --git a/tests/github/test_issue_0334.py b/tests/github/test_issue_0334.py index a3595a0..4438733 100644 --- a/tests/github/test_issue_0334.py +++ b/tests/github/test_issue_0334.py @@ -1,3 +1,4 @@ +import sys import unittest from benedict import benedict @@ -12,6 +13,10 @@ class github_issue_0334_test_case(unittest.TestCase): - Run python -m unittest tests.github.test_issue_0334 """ + @unittest.skipIf( + sys.version_info < (3, 9), + "The | operator supported since Pythopn 3.9", + ) def test_union_with_assignement_operator(self): a = {"a": "a", "b": "b"} b = {"b": "b", "c": "c"}