forked from pool/python-python-multipart
bc12cb193e
* Support PyYAML 6.0+ OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-multipart?expand=0&rev=3
14 lines
534 B
Diff
14 lines
534 B
Diff
Index: python-multipart-0.0.5/multipart/tests/test_multipart.py
|
|
===================================================================
|
|
--- python-multipart-0.0.5.orig/multipart/tests/test_multipart.py
|
|
+++ python-multipart-0.0.5/multipart/tests/test_multipart.py
|
|
@@ -709,7 +709,7 @@ for f in os.listdir(http_tests_dir):
|
|
test_data = f.read()
|
|
|
|
with open(yaml_file, 'rb') as f:
|
|
- yaml_data = yaml.load(f)
|
|
+ yaml_data = yaml.safe_load(f)
|
|
|
|
http_tests.append({
|
|
'name': fname,
|