Esempio n. 1
0
def test_is_valid_interpreter_name():
    names = [
        'python', 'pythonw', 'python2.7', 'python3.5', 'python.exe',
        'pythonw.exe'
    ]
    assert all([is_python_interpreter_valid_name(n) for n in names])
Esempio n. 2
0
def test_is_valid_interpreter_name():
    names = ['python', 'pythonw', 'python2.7', 'python3.5', 'python.exe', 'pythonw.exe']
    assert all([is_python_interpreter_valid_name(n) for n in names])