mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-05-02 14:46:18 -04:00
use yaml.safe_load()
getting new warnings see https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation
This commit is contained in:
parent
6f5f090c33
commit
d729c8d0d5
4 changed files with 7 additions and 6 deletions
|
@ -151,7 +151,7 @@ def test_robots_connection_failure():
|
|||
assert brozzler.is_permitted_by_robots(site, url)
|
||||
|
||||
def test_scoping():
|
||||
test_scope = yaml.load('''
|
||||
test_scope = yaml.safe_load('''
|
||||
max_hops: 100
|
||||
accepts:
|
||||
- url_match: REGEX_MATCH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue