def pip(self, *args, **kwargs):
        # On old versions of Python, urllib3/requests will raise a warning
        # about the lack of an SSLContext. Expect it when running commands
        # that will touch the outside world.
        if (pyversion_tuple < (2, 7, 9) and
                args and args[0] in ('search', 'install', 'download')):
            kwargs['expect_stderr'] = True
        # Python 2.6 is deprecated and we emit a warning on it.
        if pyversion_tuple[:2] in (2, 6):
            kwargs['expect_stderr'] = True

        return self.run("pip", *args, **kwargs)
dataset/ETHPy150Open pypa/pip/tests/lib/__init__.py/PipTestEnvironment.pip/operator `==` -> `in`