summaryrefslogtreecommitdiffstats
path: root/tests/common.py
diff options
context:
space:
mode:
authorPaul Pogonyshev <pogonyshev@gmx.net>2009-04-18 23:42:08 +0300
committerPaul Pogonyshev <pogonyshev@gmx.net>2009-04-18 23:42:08 +0300
commitd6a62d095cfa42c5ab4ac67017d995ce45ee158c (patch)
tree9440e9ea80cb2bc5b616e20b343c9ad59fdcb5cc /tests/common.py
parent549a656122f11a969917f1f333b1e3416b3fb47d (diff)
downloadpygobject-d6a62d095cfa42c5ab4ac67017d995ce45ee158c.tar.gz
pygobject-d6a62d095cfa42c5ab4ac67017d995ce45ee158c.tar.xz
pygobject-d6a62d095cfa42c5ab4ac67017d995ce45ee158c.zip
Remove 'ltihooks.py' as using deprecated Python module.
Remove the script and all related imports. All relevant Makefile's now create symbolic links for '.so' files from '.libs' to the level up, so that C helper modules are still importable in built, but not installed source tree.
Diffstat (limited to 'tests/common.py')
-rw-r--r--tests/common.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/common.py b/tests/common.py
index d41b9f2..a6fa73d 100644
--- a/tests/common.py
+++ b/tests/common.py
@@ -5,13 +5,11 @@ def importModules(buildDir, srcDir):
# Be very careful when you change this code, it's
# fragile and the order is really significant
- # ltihooks
sys.path.insert(0, srcDir)
sys.path.insert(0, buildDir)
sys.path.insert(0, os.path.join(buildDir, 'glib'))
sys.path.insert(0, os.path.join(buildDir, 'gobject'))
sys.path.insert(0, os.path.join(buildDir, 'gio'))
- import ltihooks
# testhelper
sys.path.insert(0, os.path.join(buildDir, 'tests'))
@@ -22,9 +20,6 @@ def importModules(buildDir, srcDir):
gobject = importModule('gobject', buildDir, 'gobject')
gio = importModule('gio', buildDir, 'gio')
- ltihooks.uninstall()
- del ltihooks
-
globals().update(locals())
os.environ['PYGTK_USE_GIL_STATE_API'] = ''