Commit eb54edc
committed
tests: Fix cookie test compatibility with Python 3.13.4+
Update the test_get_cookie test to handle changes in LWPCookieJar serialization
format introduced in Python 3.13.4+ (see
python/cpython#130631). The upstream change removed
quotes from domain values in cookie strings. Therefore we now use a regex to
match the cookie instead to retain compatibility accross all python versions.1 parent 5f2b892 commit eb54edc
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
646 | 653 | | |
647 | 654 | | |
648 | 655 | | |
| |||
0 commit comments