def METHOD_NAME(self):
    """
    Test we can create PDF surface without a temporary file (newer versions of PyCairo?)
    """
    try:
        from cairocffi import PDFSurface
    except ImportError:
        from cairo import PDFSurface
    surface, _cr, (_xoff, _yoff, width, height) = self.drawer.draw(self.molecule, file_format="pdf")
    assert isinstance(surface, PDFSurface)
    assert width > height