We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fce0250 commit c6e92a3Copy full SHA for c6e92a3
README.md
@@ -72,6 +72,12 @@ Specify `-p no:python` if you would like to execute notebooks only. Alternativel
72
73
py.test --nbval my_notebook.ipynb
74
75
+By default, each `.ipynb` file will be executed using the kernel
76
+specified in its metadata. You can override this behavior by passing
77
+either `--nbval-kernel-name mykernel` to run all the notebooks using
78
+`mykernel`, or `--current-env` to use a kernel in the same environment
79
+in which pytest itself was launched.
80
+
81
If the output lines are going to be sanitized, an extra flag, `--sanitize-with`
82
together with the path to a confguration file with regex expressions, must be passed,
83
i.e.
0 commit comments