Fix tests for `Python 3.8`.
This commit is contained in:
parent
77eb5298b2
commit
4e33844d7f
|
@ -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"}
|
||||
|
|
Loading…
Reference in New Issue