From a93321e48ea7bd9b60c3b057dfbee4cc73c04ebf Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 21 Feb 2021 15:41:21 -0500 Subject: [PATCH] Don't run stdlib example as part of test set --- ...urrent_futures_primes.py => _concurrent_futures_primes.py} | 0 tests/test_docs_examples.py | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename examples/parallelism/{concurrent_futures_primes.py => _concurrent_futures_primes.py} (100%) diff --git a/examples/parallelism/concurrent_futures_primes.py b/examples/parallelism/_concurrent_futures_primes.py similarity index 100% rename from examples/parallelism/concurrent_futures_primes.py rename to examples/parallelism/_concurrent_futures_primes.py diff --git a/tests/test_docs_examples.py b/tests/test_docs_examples.py index 3778e0e..632d85c 100644 --- a/tests/test_docs_examples.py +++ b/tests/test_docs_examples.py @@ -83,8 +83,10 @@ def run_example_in_subproc(loglevel, testdir, arb_addr): [(p[0], f) for p in os.walk(examples_dir()) for f in p[2] if '__' not in f + and f[0] != '_' and 'debugging' not in p[0] - ] + ], + ids=lambda t: t[1], ) def test_example(run_example_in_subproc, example_script): """Load and run scripts from this repo's ``examples/`` dir as a user