File: python3.11.patch

package info (click to toggle)
python-boltons 21.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,280 kB
  • sloc: python: 12,144; makefile: 159; sh: 7
file content (24 lines) | stat: -rw-r--r-- 802 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Stefano Rivera <stefano@rivera.za.net>
Date: Sun, 25 Dec 2022 10:40:05 -0400
Subject: Add __getstate__ to through_methods (bpo-26579)

Adds support for Python 3.11.

Bug-Debian: https://bugs.debian.org/1025023
Forwarded: https://github.com/mahmoud/boltons/pull/323
---
 tests/test_dictutils.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test_dictutils.py b/tests/test_dictutils.py
index ca59a31..0044001 100644
--- a/tests/test_dictutils.py
+++ b/tests/test_dictutils.py
@@ -474,6 +474,7 @@ def test_frozendict_api():
                        '__ge__',
                        '__getattribute__',
                        '__getitem__',
+                       '__getstate__',
                        '__gt__',
                        '__init__',
                        '__iter__',