mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
'fallack in test tools'
This commit is contained in:
parent
7dfec26dbe
commit
d0f5ae99b2
1 changed files with 3 additions and 2 deletions
|
@ -21,8 +21,9 @@ VER_3_4 = (3, 4)
|
|||
VER_3_5 = (3, 5)
|
||||
VER_MAJOR_MINOR = sys.version_info[:2]
|
||||
VER_FULL = sys.version_info[:3]
|
||||
ON_DARWIN = platform.ON_DARWIN
|
||||
ON_WINDOWS = platform.ON_WINDOWS
|
||||
ON_DARWIN = (platform.system() == 'Darwin')
|
||||
ON_WINDOWS = (platform.system() == 'Windows')
|
||||
|
||||
|
||||
def sp(cmd):
|
||||
return subprocess.check_output(cmd, universal_newlines=True)
|
||||
|
|
Loading…
Add table
Reference in a new issue