1
0
python-python-multipart/support-pyyaml-6.patch

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,