mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
333f7b34f2
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
15 lines
324 B
Python
15 lines
324 B
Python
import delegator
|
|
|
|
from pipenv.utils import python_version
|
|
|
|
|
|
FULL_PYTHON_PATH = 'C:\\Python36-x64\\python.exe'
|
|
|
|
|
|
class TestUtilsWindows():
|
|
|
|
def test_python_version_from_full_path(self):
|
|
print(delegator.run('{0} --version'.format(FULL_PYTHON_PATH)).out)
|
|
|
|
assert python_version(FULL_PYTHON_PATH) == "3.6.1"
|