Fix tests for `Python 3.8`.

This commit is contained in:
Fabio Caccamo 2023-09-18 22:54:19 +02:00
parent 77eb5298b2
commit 4e33844d7f
1 changed files with 5 additions and 0 deletions

View File

@ -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"}