[Mod] tests_import_all: skip importing XTP under OSX

This commit is contained in:
nanoric 2019-07-05 12:40:06 +08:00
parent a8f06a0139
commit 304072f96d

View File

@ -78,6 +78,8 @@ class GatewayImportTest(unittest.TestCase):
def test_import_tora(self): def test_import_tora(self):
from vnpy.gateway.tora import ToraGateway from vnpy.gateway.tora import ToraGateway
@unittest.skipIf(platform.system() == "Linux", "Not supported yet under Linux")
@unittest.skipIf(platform.system() == "Darwin", "Not supported yet under osx")
def test_import_xtp(self): def test_import_xtp(self):
from vnpy.gateway.xtp import XtpGateway from vnpy.gateway.xtp import XtpGateway