diff -ru pdir2-0.3.1-orig/tests/test_filters.py pdir2-0.3.1/tests/test_filters.py
--- pdir2-0.3.1-orig/tests/test_filters.py 2022-07-19 14:35:58.484999407 +0200
+++ pdir2-0.3.1/tests/test_filters.py 2022-07-19 15:00:31.016578264 +0200
@@ -79,6 +79,7 @@
'__str__',
'__reduce__',
'__reduce_ex__',
+ '__getstate__',
],
)
else:
@@ -102,6 +103,7 @@
'__str__',
'__reduce__',
'__reduce_ex__',
+ '__getstate__',
'__eq__',
'__ge__',
'__gt__',
diff -ru pdir2-0.3.1-orig/tests/test_pdir_format.py pdir2-0.3.1/tests/test_pdir_format.py
--- pdir2-0.3.1-orig/tests/test_pdir_format.py 2022-07-19 14:35:58.484999407 +0200
+++ pdir2-0.3.1/tests/test_pdir_format.py 2022-07-19 15:07:44.903864771 +0200
@@ -122,7 +122,8 @@
),
'\x1b[0;33mpickle:\x1b[0m',
(
- ' \x1b[0;36m__reduce__\x1b[0m\x1b[1;30m, '
+ ' \x1b[0;36m__getstate__\x1b[0m\x1b[1;30m, '
+ '\x1b[0m\x1b[0;36m__reduce__\x1b[0m\x1b[1;30m, '
'\x1b[0m\x1b[0;36m__reduce_ex__\x1b[0m'
),
]
@@ -170,7 +171,8 @@
' \x1b[0;36m__init_subclass__\x1b[0m',
'\x1b[0;33mpickle:\x1b[0m',
(
- ' \x1b[0;36m__reduce__\x1b[0m\x1b[1;30m, '
+ ' \x1b[0;36m__getstate__\x1b[0m\x1b[1;30m, '
+ '\x1b[0m\x1b[0;36m__reduce__\x1b[0m\x1b[1;30m, '
'\x1b[0m\x1b[0;36m__reduce_ex__\x1b[0m'
),
]
@@ -240,7 +242,8 @@
),
'\x1b[0;33mpickle:\x1b[0m',
(
- ' \x1b[0;36m__reduce__\x1b[0m\x1b[1;30m, '
+ ' \x1b[0;36m__getstate__\x1b[0m\x1b[1;30m, '
+ '\x1b[0m\x1b[0;36m__reduce__\x1b[0m\x1b[1;30m, '
'\x1b[0m\x1b[0;36m__reduce_ex__\x1b[0m'
),
'\x1b[0;33mdescriptor:\x1b[0m',
@@ -303,7 +306,8 @@
' \x1b[0;36m__init_subclass__\x1b[0m',
'\x1b[0;33mpickle:\x1b[0m',
(
- ' \x1b[0;36m__reduce__\x1b[0m\x1b[1;30m, '
+ ' \x1b[0;36m__getstate__\x1b[0m\x1b[1;30m, '
+ '\x1b[0m\x1b[0;36m__reduce__\x1b[0m\x1b[1;30m, '
'\x1b[0m\x1b[0;36m__reduce_ex__\x1b[0m'
),
'\x1b[0;33mdescriptor:\x1b[0m',