From 800b78fcf46f6f4aa116b99795dabe774af6a324 Mon Sep 17 00:00:00 2001 From: Arturo Date: Mon, 10 Feb 2020 09:48:47 -0600 Subject: [PATCH] fix: failing tutorial translations should be ignored Exclude only the names, instead of full paths. This means it will effectively exclude translated titles too. --- test/notebooks/test_notebooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/notebooks/test_notebooks.py b/test/notebooks/test_notebooks.py index ca93270a6d6..f43c6f13f44 100644 --- a/test/notebooks/test_notebooks.py +++ b/test/notebooks/test_notebooks.py @@ -29,7 +29,7 @@ # Exclude all translated basic tutorials that are also # excluded in their original version. excluded_translated_notebooks = [ - nb for part in ["10", "13b", "13c"] for nb in translated_notebooks if part in nb + Path(nb).name for part in ["10", "13b", "13c"] for nb in translated_notebooks if part in nb ] # buggy notebooks with explanation what does not work