archrelease: copy trunk to extra-x86_64
[arch-packages.git] / swig / trunk / python310.patch
bloba3c8cff26cabcd5018f59231e8747cb6eae73079
1 From a2850397ba3eec5d4c58304cf8277ca535919760 Mon Sep 17 00:00:00 2001
2 From: Julien Schueller <schueller@phimeca.com>
3 Date: Thu, 5 Aug 2021 14:05:10 +0200
4 Subject: [PATCH] [Python] Fix overload_simple_cast test with 3.10
6 Closes #2044
7 ---
8 Examples/test-suite/python/python_overload_simple_cast_runme.py | 2 ++
9 1 file changed, 2 insertions(+)
11 diff --git a/Examples/test-suite/python/python_overload_simple_cast_runme.py b/Examples/test-suite/python/python_overload_simple_cast_runme.py
12 index fc398ab29b9..7a0174af8a2 100644
13 --- a/Examples/test-suite/python/python_overload_simple_cast_runme.py
14 +++ b/Examples/test-suite/python/python_overload_simple_cast_runme.py
15 @@ -9,6 +9,8 @@ def __init__(self, x):
16 def __int__(self):
17 return self.x
19 + def __index__(self):
20 + return self.x
22 class Ad: