From c0773f8681cf4cc039a11b64b37f003f15f52541 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Apr 2020 17:36:10 +0200 Subject: Disable Turtle syntax test on Windows This causes problems because tempfile.NamedTemporaryFile is not reopenable by name on Windows, but doesn't really need to run there anyway since this test just ensures that the syntax in the repository is normalized and it only needs to run once. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 20d958d..fb13e30 100644 --- a/wscript +++ b/wscript @@ -530,7 +530,7 @@ def test(tst): plugin_files = list(map(str, tst.path.ant_glob("plugins/**/*.ttl"))) bld_files = list(map(str, tst.path.get_bld().ant_glob("**/*.ttl"))) - if "SERDI" in tst.env: + if "SERDI" in tst.env and sys.platform != 'win32': for f in spec_files: with tempfile.NamedTemporaryFile(mode="w") as tmp: base_dir = os.path.dirname(f) -- cgit v1.2.1