summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Pogonyshev <pogonyshev@gmx.net>2009-05-02 16:11:06 +0300
committerPaul Pogonyshev <pogonyshev@gmx.net>2009-05-02 16:11:06 +0300
commitdd2009d4e0e9fa9cd4ee8d76ec0e498e62a568b7 (patch)
treed13f1db39e0b7a3026d9f8193aaf194e90665c8d /tests
parent7a05b493a612da9f41a8f611ed56dcbcea7daa07 (diff)
downloadpygtk-dd2009d4e0e9fa9cd4ee8d76ec0e498e62a568b7.tar.gz
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. Same as in PyGObject. (Bug #565593.)
Diffstat (limited to 'tests')
-rw-r--r--tests/common.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/common.py b/tests/common.py
index dfc34012..33216e1e 100644
--- a/tests/common.py
+++ b/tests/common.py
@@ -7,29 +7,19 @@ 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)
# atk, pango
sys.path.insert(0, buildDir)
# _gtk, keysyms, glade
sys.path.insert(0, os.path.join(buildDir, 'gtk'))
sys.argv.append('--g-fatal-warnings')
- import ltihooks
atk = importModule('atk', buildDir)
pango = importModule('pango', buildDir)
gtk = importModule('gtk', buildDir, 'gtk')
gdk = importModule('gtk.gdk', buildDir, '_gdk.la')
- # gtk/__init__.py removes the ltihooks, readd them
- import gtk
-
- ltihooks.install()
glade = importModule('gtk.glade', buildDir)
- ltihooks.uninstall()
- del ltihooks
-
globals().update(locals())
os.environ['PYGTK_USE_GIL_STATE_API'] = ''