mirror of
https://github.com/powerline/powerline.git
synced 2025-07-31 01:35:40 +02:00
Set use_mercurial and use_bzr to False in PyPy
This commit is contained in:
parent
19195159ad
commit
871ce5727b
@ -13,6 +13,7 @@ import threading
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
|
import platform
|
||||||
from time import sleep
|
from time import sleep
|
||||||
from subprocess import call, PIPE
|
from subprocess import call, PIPE
|
||||||
from functools import partial
|
from functools import partial
|
||||||
@ -466,7 +467,8 @@ class TestFilesystemWatchers(TestCase):
|
|||||||
os.rename(f, f + '1')
|
os.rename(f, f + '1')
|
||||||
changed()
|
changed()
|
||||||
|
|
||||||
use_mercurial = use_bzr = sys.version_info < (3, 0)
|
use_mercurial = use_bzr = (sys.version_info < (3, 0)
|
||||||
|
and platform.python_implementation() == 'CPython')
|
||||||
|
|
||||||
|
|
||||||
class TestVCS(TestCase):
|
class TestVCS(TestCase):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user