aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtGui
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-05-05 12:19:16 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-05-05 18:46:41 +0200
commit36431b071095b8999347df87621bf23ffcc2ac3d (patch)
tree014550c8f87f70320e1fd3a7572fb6ee7969021a /sources/pyside6/tests/QtGui
parenta7726c8ccc6e48b03cf33a864b9268e2d3de605d (diff)
Turn off numpy support in libpyside by default
Add a configure parameter for it and mark it as experimental. It has been found to: - break cx_freeeze - Cause embedding applications to fail to load with "undefined symbol: PyExc_RecursionError" Pick-to: 6.1 6.1.0 Task-number: PYSIDE-1540 Task-number: PYSIDE-1503 Task-number: PYSIDE-1455 Change-Id: I72fa4a3324a37eb996c42b83dce55fe1990b6fc3 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/tests/QtGui')
-rw-r--r--sources/pyside6/tests/QtGui/qpainter_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtGui/qpainter_test.py b/sources/pyside6/tests/QtGui/qpainter_test.py
index 2a9db8598..a099e9df8 100644
--- a/sources/pyside6/tests/QtGui/qpainter_test.py
+++ b/sources/pyside6/tests/QtGui/qpainter_test.py
@@ -116,7 +116,8 @@ class QPainterDrawText(UsesQGuiApplication):
QPoint(20.0, 10.0),
QPoint(80.0, 30.0),
QPoint(90.0, 70.0)])
- if HAVE_NUMPY:
+ # FIXME: Activate once libpyside numpy support is on by default
+ if False and HAVE_NUMPY:
x = np.array([10.0, 20.0, 80.0, 90.0])
y = np.array([80.0, 10.0, 30.0, 70.0])
self.painter.drawPointsNp(x, y)