Skip to content

Commit 4e33844

Browse files
committed
Fix tests for Python 3.8.
1 parent 77eb529 commit 4e33844

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/github/test_issue_0334.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import sys
12
import unittest
23

34
from benedict import benedict
@@ -12,6 +13,10 @@ class github_issue_0334_test_case(unittest.TestCase):
1213
- Run python -m unittest tests.github.test_issue_0334
1314
"""
1415

16+
@unittest.skipIf(
17+
sys.version_info < (3, 9),
18+
"The | operator supported since Pythopn 3.9",
19+
)
1520
def test_union_with_assignement_operator(self):
1621
a = {"a": "a", "b": "b"}
1722
b = {"b": "b", "c": "c"}

0 commit comments

Comments
 (0)