From d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 15 Jun 2021 14:57:03 +0100 Subject: gentoo resync : 15.06.2021 --- .../urlwatch/files/urlwatch-2.17-fix-yaml.load.patch | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 www-misc/urlwatch/files/urlwatch-2.17-fix-yaml.load.patch (limited to 'www-misc/urlwatch/files') diff --git a/www-misc/urlwatch/files/urlwatch-2.17-fix-yaml.load.patch b/www-misc/urlwatch/files/urlwatch-2.17-fix-yaml.load.patch deleted file mode 100644 index c8bd04ae932f..000000000000 --- a/www-misc/urlwatch/files/urlwatch-2.17-fix-yaml.load.patch +++ /dev/null @@ -1,18 +0,0 @@ -commit d00041bacd6343cadf29c3d0a98817a7b9fda2a1 -Author: Louis Sautier -Date: Sun Apr 14 14:49:24 2019 +0200 - - Fix YAMLLoadWarning in tests - -diff --git a/test/test_filters.py b/test/test_filters.py -index 3402616..da2393b 100644 ---- a/test/test_filters.py -+++ b/test/test_filters.py -@@ -33,6 +33,6 @@ def test_filters(): - eq_(result, expected_result) - - with open(os.path.join(os.path.dirname(__file__), 'data/filter_tests.yaml'), 'r', encoding='utf8') as fp: -- filter_tests = yaml.load(fp) -+ filter_tests = yaml.load(fp, Loader=yaml.SafeLoader) - for test_name in filter_tests: - yield check_filter, test_name -- cgit v1.2.3