diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/mechanize/files | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-python/mechanize/files')
| -rw-r--r-- | dev-python/mechanize/files/mechanize-0.4.10-py314-tests.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/dev-python/mechanize/files/mechanize-0.4.10-py314-tests.patch b/dev-python/mechanize/files/mechanize-0.4.10-py314-tests.patch deleted file mode 100644 index c5ba8eb43f56..000000000000 --- a/dev-python/mechanize/files/mechanize-0.4.10-py314-tests.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 0c1cd4b65697dee4e4192902c9a2965d94700502 Mon Sep 17 00:00:00 2001 -From: Colin Watson <cjwatson@debian.org> -Date: Mon, 26 May 2025 12:59:44 +0100 -Subject: [PATCH] Fix CookieTests following fix for CPython #130631 - -The fix for https://github.com/python/cpython/issues/130631 in Python -3.14.0b1 (also cherry-picked to 3.13, but not yet released) causes -`www.acme.com` to be unquoted in cookie strings. Adjust a test to cope -with this. ---- - test/test_cookies.py | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/test/test_cookies.py b/test/test_cookies.py -index ec0c2ff..92227fc 100644 ---- a/test/test_cookies.py -+++ b/test/test_cookies.py -@@ -332,9 +332,13 @@ def test_missing_name(self): - cookie = c._cookies["www.acme.com"]['/foo/']['"spam"'] - assert cookie.name == '"spam"' - assert cookie.value is None -- assert lwp_cookie_str(cookie) == ( -+ assert lwp_cookie_str(cookie) in ( -+ r'"spam"; path="/foo/"; domain=www.acme.com; ' -+ 'path_spec; discard; version=0', -+ # prior to fix for https://github.com/python/cpython/issues/130631: - r'"spam"; path="/foo/"; domain="www.acme.com"; ' -- 'path_spec; discard; version=0') -+ 'path_spec; discard; version=0', -+ ) - old_str = repr(c) - c.save(ignore_expires=True, ignore_discard=True) - try: |
