diff options
| author | Friedemann Kleint <[email protected]> | 2020-08-17 12:43:18 +0200 |
|---|---|---|
| committer | Friedemann Kleint <[email protected]> | 2020-08-17 11:00:52 +0000 |
| commit | 5e2844671053ee0fe4c040d4b15c92652a8805c2 (patch) | |
| tree | 920ccddaa1911726901ea9d72bb0210a4d16639b /sources/pyside2/tests | |
| parent | 3e252bba6ea6b96acb412d08131953e74d2b84ee (diff) | |
Fix QLineF-test
Fix signature of QLineF::intersects().
Amends 3e252bba6ea6b96acb412d08131953e74d2b84ee.
Task-number: PYSIDE-1339
Task-number: PYSIDE-904
Change-Id: Ia299e608941d2a243e24bed780d50e5edb655d0f
Reviewed-by: Christian Tismer <[email protected]>
Diffstat (limited to 'sources/pyside2/tests')
| -rw-r--r-- | sources/pyside2/tests/QtCore/qlinef_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtCore/qlinef_test.py b/sources/pyside2/tests/QtCore/qlinef_test.py index 084937c06..3d7a42296 100644 --- a/sources/pyside2/tests/QtCore/qlinef_test.py +++ b/sources/pyside2/tests/QtCore/qlinef_test.py @@ -44,7 +44,7 @@ class TestQLineF (unittest.TestCase): def testIntersect(self): l1 = QLineF(0, 0, 1, 0) l2 = QLineF(1, -1, 1, 1) - tuple_ = l1.intersect(l2) + tuple_ = l1.intersects(l2) self.assertEqual(tuple, tuple_.__class__) (value, p) = tuple_ self.assertEqual(QLineF.BoundedIntersection, value) |
