Skip to content
Permalink
Browse files

try safe_load to remove warnings

  • Loading branch information...
schristley committed Mar 29, 2019
1 parent a9106ff commit 4dafec5ed7893d40ac409be4a7b3cd77b0dab2f6
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/check-consistency-formats.py
@@ -37,11 +37,11 @@
for spec_name in spec_files:
# check equality of specs
with open(spec_files[spec_name], 'r') as ip:
gold_spec = yaml.load(ip)
gold_spec = yaml.safe_load(ip)
with open(py_files[spec_name], 'r') as ip:
py_spec = yaml.load(ip)
py_spec = yaml.safe_load(ip)
with open(r_files[spec_name], 'r') as ip:
r_spec = yaml.load(ip)
r_spec = yaml.safe_load(ip)

# Check python package
if jsondiff.diff(gold_spec, py_spec) != {}:

0 comments on commit 4dafec5

Please sign in to comment.
You can’t perform that action at this time.