diff --git a/examples/open_context_and_sleep.py b/examples/integration/open_context_and_sleep.py similarity index 100% rename from examples/open_context_and_sleep.py rename to examples/integration/open_context_and_sleep.py diff --git a/tests/test_docs_examples.py b/tests/test_docs_examples.py index af17ff10c..e1d78676a 100644 --- a/tests/test_docs_examples.py +++ b/tests/test_docs_examples.py @@ -81,11 +81,14 @@ def run(script_code): 'example_script', # walk yields: (dirpath, dirnames, filenames) - [(p[0], f) for p in os.walk(examples_dir()) for f in p[2] + [ + (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]], + and 'debugging' not in p[0] + and 'integration' not in p[0] + ], ids=lambda t: t[1], )