summaryrefslogtreecommitdiff
path: root/tests/test_pygtkcompat.py
diff options
context:
space:
mode:
authorJose Rostagno <joserostagno@vijona.com.ar>2012-05-11 19:08:47 -0300
committerMartin Pitt <martinpitt@gnome.org>2012-05-14 13:29:05 +0200
commit88babe7377402f6e6f912a8b83615aab848eae81 (patch)
treefba62a90b9916c82f6d59203ce58ff9e25d3ea09 /tests/test_pygtkcompat.py
parent3f712b56397296bca2f5358cd52977b1a2011964 (diff)
downloadpygobject-88babe7377402f6e6f912a8b83615aab848eae81.tar.gz
pygtkcompat: Correctly set flags
https://bugzilla.gnome.org/show_bug.cgi?id=675911 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
Diffstat (limited to 'tests/test_pygtkcompat.py')
-rw-r--r--tests/test_pygtkcompat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_pygtkcompat.py b/tests/test_pygtkcompat.py
index 76f7609c..245ee673 100644
--- a/tests/test_pygtkcompat.py
+++ b/tests/test_pygtkcompat.py
@@ -47,6 +47,7 @@ class TestGTKCompat(unittest.TestCase):
def testFlags(self):
self.assertEqual(gtk.EXPAND, Gtk.AttachOptions.EXPAND)
+ self.assertEqual(gtk.gdk.SHIFT_MASK, Gdk.ModifierType.SHIFT_MASK)
def testKeysyms(self):
import gtk.keysyms