From d040573a1f27d34782ee54a7c6df48608030ab24 Mon Sep 17 00:00:00 2001 From: Sebastian Heimann Date: Mon, 18 May 2020 09:22:50 +0200 Subject: [PATCH] tests: fix examples test runner --- test/examples/test_examples.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/examples/test_examples.py b/test/examples/test_examples.py index 56a2490d..ce01b3e1 100644 --- a/test/examples/test_examples.py +++ b/test/examples/test_examples.py @@ -77,7 +77,7 @@ class ExamplesTestCase(unittest.TestCase): example_files = [fn for fn in glob.glob(op.join(test_dir, 'examples', '*.py')) - if os.basename(fn) not in skip_examples] + if os.path.basename(fn) not in skip_examples] def _make_function(test_name, fn):