aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/otherbinding
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-01-21 19:06:38 +0100
committerChristian Tismer <tismer@stackless.com>2021-02-06 18:20:16 +0100
commit1e501c49bfa0832fd4a36903bc88a20f88565cf7 (patch)
tree243a6acb644385371c5fe4c38f3ea84139811e40 /sources/shiboken6/tests/otherbinding
parent408ccdeccf82d114656a3f85d5fe80a5e3dd3c69 (diff)
move "shiboken6/shiboken6" to "shiboken6/Shiboken"
Modifying the paths to work in the new way is a quite ambitious task. But doing so improves the overall project structure and makes imports unambiguous. This patch should not be applied alone but with move "shiboken6/shiboken6" to "shiboken6/Shiboken" temp The reworked version of this patch no longer has different structures in `build` and `install`. Tested with Python 3.6, 3.7, 3.8, 3.9 debug build Python 3.6 debug install Python 3.9 release install Task-number: PYSIDE-1497 Change-Id: Id9d816dd825907f9359651e7e2f69f54e1ba46c9 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/tests/otherbinding')
-rw-r--r--sources/shiboken6/tests/otherbinding/objtypehashes_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/tests/otherbinding/objtypehashes_test.py b/sources/shiboken6/tests/otherbinding/objtypehashes_test.py
index dc3ae1eb0..a0bb88618 100644
--- a/sources/shiboken6/tests/otherbinding/objtypehashes_test.py
+++ b/sources/shiboken6/tests/otherbinding/objtypehashes_test.py
@@ -35,7 +35,7 @@ from shiboken_paths import init_paths
init_paths()
from sample import *
from other import *
-import shiboken6 as shiboken
+from shiboken6 import Shiboken
class TestHashFuncs (unittest.TestCase):
@@ -48,7 +48,7 @@ class TestHashFuncs (unittest.TestCase):
self.assertNotEqual(hash1, hash2)
# Now invalidate the object and test its hash. It shouldn't segfault.
- shiboken.invalidate(obj1)
+ Shiboken.invalidate(obj1)
hash1_2 = hash(obj1)
self.assertEqual(hash1_2, hash1)