Branch and push for 2.0
[profile/ivi/pygobject2.git] / tests / test_gcancellable.py
1 # -*- Mode: Python -*-
2
3 import unittest
4
5 import glib
6 import gio
7
8
9 class TestResolver(unittest.TestCase):
10     def setUp(self):
11         self.cancellable = gio.Cancellable()
12     
13     def test_make_poll_fd(self):
14         poll = self.cancellable.make_pollfd()
15         self.failUnless(isinstance(poll, glib.PollFD))