From 304072f96de5bc677bf04f9fad85d3627edd56db Mon Sep 17 00:00:00 2001 From: nanoric Date: Fri, 5 Jul 2019 12:40:06 +0800 Subject: [PATCH] [Mod] tests_import_all: skip importing XTP under OSX --- tests/test_import_all.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_import_all.py b/tests/test_import_all.py index a4ca3206..f5969556 100644 --- a/tests/test_import_all.py +++ b/tests/test_import_all.py @@ -78,6 +78,8 @@ class GatewayImportTest(unittest.TestCase): def test_import_tora(self): 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): from vnpy.gateway.xtp import XtpGateway