summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2006-08-08 12:58:34 +0000
committerJohan Dahlin <johan@src.gnome.org>2006-08-08 12:58:34 +0000
commitda46c1b41449552c7a49e70ccf7c350ff62602f3 (patch)
treea4f731ca02225facab27d4d7ea4ce31b32f5d551 /tests
parent01cfc73a95211bf057f0b1fecf8c0c5dafef9205 (diff)
downloadpygtk-da46c1b41449552c7a49e70ccf7c350ff62602f3.tar.gz
Do not check version in the testsuite, it's already done in the individual modules
Diffstat (limited to 'tests')
-rw-r--r--tests/common.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/common.py b/tests/common.py
index 5bc47354..dfc34012 100644
--- a/tests/common.py
+++ b/tests/common.py
@@ -1,6 +1,8 @@
import os
import sys
+import gobject
+
def importModules(buildDir, srcDir):
# Be very careful when you change this code, it's
# fragile and the order is really significant
@@ -14,13 +16,6 @@ def importModules(buildDir, srcDir):
sys.argv.append('--g-fatal-warnings')
import ltihooks
- gobject = importModule('gobject', buildDir, 'gobject/gobject.la')
- version = getattr(gobject, 'pygobject_version', None)
- if not version:
- raise AssertionError("gobject %r is too old" % gobject)
- if version < (2, 10, 0):
- raise AssertionError("gobject %r is too old, %s found" % (gobject,
- version))
atk = importModule('atk', buildDir)
pango = importModule('pango', buildDir)
gtk = importModule('gtk', buildDir, 'gtk')