Fix classmethod tests with Python 3.13+ Fixes https://github.com/GrahamDumpleton/wrapt/issues/259 . To fix the same failures on Python 3.9, they were adjusted in the past. For details see https://github.com/GrahamDumpleton/wrapt/issues/160 . However, Python 3.13 reverted the change from 3.9, so this adds an upper bound for the conditionals. . To make the conditionals easier to read, the if-else branches were switched.
diff --git a/tests/test_outer_classmethod.py b/tests/test_outer_classmethod.py index ab807646..c08d34a5 100644