Beispiel #1
0
 def close(self):
     """
     Close this display connection.
     """
     if self:
         xlib.close_display(self)
     self._as_parameter_ = None
Beispiel #2
0
 def close(self):
     """
     Close this display connection.
     """
     if self:
         xlib.close_display(self)
     self._as_parameter_ = None
Beispiel #3
0
def test_open_display():
    display = xlib.open_display(None)
    assert display
    xlib.close_display(display)