From 52dec17a0696c382502214bf7c58f6ace8834294 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Sat, 5 Aug 2006 15:27:48 +0000 Subject: Special case __members__ to dir on the real module, fixes (#349892, John * gtk/_lazyutils.py (LazyModule.__getattr__): Special case __members__ to dir on the real module, fixes (#349892, John Finlay) * tests/test_api.py (APITest.testKeysyms): Add a test --- tests/test_api.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/test_api.py b/tests/test_api.py index cc79c840..beb22a46 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -4,6 +4,7 @@ from common import gobject, gtk, glade class APITest(unittest.TestCase): def testKeysyms(self): + self.failUnless('Escape' in dir(gtk.keysyms)) self.failUnless(hasattr(gtk.keysyms, 'Escape')) self.assertEqual(gtk.keysyms.Escape, 0xFF1B) -- cgit v1.2.1