summaryrefslogtreecommitdiff
path: root/_test/test_issues.py
diff options
context:
space:
mode:
Diffstat (limited to '_test/test_issues.py')
-rw-r--r--_test/test_issues.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py
index d37b297..8905655 100644
--- a/_test/test_issues.py
+++ b/_test/test_issues.py
@@ -108,7 +108,7 @@ class TestIssues:
yaml = YAML()
data = yaml.load(inp)
child = data['child']
- assert 'second' in {**child}
+ assert 'second' in dict(**child)
def test_issue_160(self):
s = dedent("""\
@@ -411,7 +411,7 @@ class TestIssues:
def test_issue_233(self):
from ruamel.yaml import YAML
import json
-
+
yaml = YAML()
data = yaml.load("{}")
json_str = json.dumps(data)
@@ -420,7 +420,7 @@ class TestIssues:
def test_issue_233a(self):
from ruamel.yaml import YAML
import json
-
+
yaml = YAML()
data = yaml.load("[]")
json_str = json.dumps(data)