diff options
author | Simon van der Linden <svdlinden@src.gnome.org> | 2009-11-14 21:42:43 +0100 |
---|---|---|
committer | Simon van der Linden <svdlinden@src.gnome.org> | 2009-11-14 21:42:43 +0100 |
commit | e6f730d6e1431e36bd5f6b503a1038617f8d1e7d (patch) | |
tree | 0425e934bee544110260ba893bd8850c67d763b0 /tests | |
parent | e604a89e9dc1a79687ef5fb94af7a2182be07dfb (diff) | |
download | pygi-e6f730d6e1431e36bd5f6b503a1038617f8d1e7d.tar.gz pygi-e6f730d6e1431e36bd5f6b503a1038617f8d1e7d.tar.xz pygi-e6f730d6e1431e36bd5f6b503a1038617f8d1e7d.zip |
Import pygtk properly to avoid failure on some setups
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_gi.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_gi.py b/tests/test_gi.py index 7c29615..3c72d28 100644 --- a/tests/test_gi.py +++ b/tests/test_gi.py @@ -1,6 +1,9 @@ # -*- Mode: Python; py-indent-offset: 4 -*- # vim: tabstop=4 shiftwidth=4 expandtab +import pygtk +pygtk.require("2.0") + import unittest import gobject |