The tests are named `test_readme_example`; at the moment there are two of them. https://github.com/nschloe/pytest-codeblocks N.B. though https://github.com/nschloe/pytest-codeblocks/issues/104