diff options
-rw-r--r-- | tests/test_gdk.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test_gdk.py b/tests/test_gdk.py index 9d3d7fd7..95b23794 100644 --- a/tests/test_gdk.py +++ b/tests/test_gdk.py @@ -46,3 +46,13 @@ class GdkTest(unittest.TestCase): '\x00\x01', 1, [0xdeadbe, 0xbebabe]) + + def testDisplay(self): + gc.collect() + display = gtk.gdk.Display(None) + del display + self.assertEquals(gc.collect(), 1) + display = gtk.gdk.Display(None) + display.close() + del display + #self.assertEquals(gc.collect(), 1) |