Skip to content

Commit

Permalink
Fix yaml load for 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
dustine32 authored Jan 26, 2024
1 parent 70a94a7 commit e2b2975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simple_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_jschema(validator, test_pattern):

f = open(sys.argv[1], 'r')

spec = yaml.load(f.read())
spec = yaml.safe_load(f.read())

v = Draft4Validator(spec)

Expand Down

0 comments on commit e2b2975

Please sign in to comment.