From 08cdff949550428eeb845f712f500744f0d13027 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Mon, 23 Mar 2020 11:00:30 +0100 Subject: [PATCH] appveyor: don't run host_info() twice for compile tests --- appveyor-test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor-test.py b/appveyor-test.py index a270c0f..33d8ba2 100644 --- a/appveyor-test.py +++ b/appveyor-test.py @@ -246,8 +246,8 @@ class TestVCVars(unittest.TestCase): do.with_vcvars('env') if __name__ == "__main__": - do.host_info() if 'SET' in os.environ and os.environ['SET'] == "test00": + do.host_info() if sys.argv[1:]==['env']: # testing with_vcvars [print(K,'=',V) for K, V in os.environ.items()]