summaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/support/signature/loader.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2017-11-13 02:28:01 +0100
committerChristian Tismer <tismer@stackless.com>2017-11-19 00:19:01 +0000
commit17f9e415bd1a4d4c5c0d86fc2855e92f698842b7 (patch)
tree65c976f58888fceef5a18a5e86cc1e3b07cf8b66 /sources/pyside2/PySide2/support/signature/loader.py
parent522182fc6ef0d06da1d21fd07ab4e440407cca8e (diff)
Create a function existence registrymaya1
With the signature module, it is now a straight forward task to generate a registry of all known function signatures. We check that these signatures all exist. One file contains all signatures for one platform and version. The test is only activated when run in the CI system. An initial call creates the expected file as output and raises an error. The result can then be picked up from the error log and added to the repository. Done: linux2 5.6.4 Done: darwin 5.6.4 Done: win32 5.6.4 Task-number: PYSIDE-510 Change-Id: I4f406cf72d25fdd2336814f6f20129079b8be54f Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/PySide2/support/signature/loader.py')
-rw-r--r--sources/pyside2/PySide2/support/signature/loader.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/sources/pyside2/PySide2/support/signature/loader.py b/sources/pyside2/PySide2/support/signature/loader.py
index 373cc8ab..b734436e 100644
--- a/sources/pyside2/PySide2/support/signature/loader.py
+++ b/sources/pyside2/PySide2/support/signature/loader.py
@@ -60,7 +60,6 @@ for _ in "four":
sys.path.insert(0, package_dir)
if sys.version_info >= (3,):
from PySide2.support.signature import inspect
- from PySide2.support.signature import typing
else:
import inspect
namespace = inspect.__dict__