diff options
Diffstat (limited to 'www-client/qutebrowser/files/qutebrowser-2.3.1-pyyaml60.patch')
-rw-r--r-- | www-client/qutebrowser/files/qutebrowser-2.3.1-pyyaml60.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/www-client/qutebrowser/files/qutebrowser-2.3.1-pyyaml60.patch b/www-client/qutebrowser/files/qutebrowser-2.3.1-pyyaml60.patch deleted file mode 100644 index d585109b9f2c..000000000000 --- a/www-client/qutebrowser/files/qutebrowser-2.3.1-pyyaml60.patch +++ /dev/null @@ -1,19 +0,0 @@ -https://github.com/qutebrowser/qutebrowser/commit/1547a48 -From: Florian Bruhin <me@the-compiler.org> -Date: Thu, 14 Oct 2021 09:05:07 +0200 -Subject: [PATCH] tests: Adjust for PyYAML 6.0 ---- a/tests/unit/utils/test_utils.py -+++ b/tests/unit/utils/test_utils.py -@@ -809,8 +809,11 @@ def test_load(self): - assert utils.yaml_load("[1, 2]") == [1, 2] - - def test_load_float_bug(self): -- with pytest.raises(yaml.YAMLError): -+ try: - utils.yaml_load("._") -+ except yaml.YAMLError: -+ # Either no exception or YAMLError, not ValueError -+ pass - - def test_load_file(self, tmp_path): - tmpfile = tmp_path / 'foo.yml' |