def available_python_versions(self):
        """Get the executable names of available versions of Python on the system.
        """
        for py in supported_pythons:
            try:
                check_call([py, '-c', 'import nose'], stdout=PIPE)
                yield py
            except (__HOLE__, CalledProcessError):
                self.unavailable_pythons.append(py)
dataset/ETHPy150Open networkx/networkx/tools/test_pr.py/TestRun.available_python_versions