Skip to content

Commit

Permalink
Add a short disclaimer to the readme for non-standard IPython impls
Browse files Browse the repository at this point in the history
  • Loading branch information
chmp committed Jul 2, 2021
1 parent a66c472 commit 2c575cd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Readme.in
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ This function is a thin wrapper around `pytest.main` and will execute any tests
defined in the current notebook session. See the [reference](#reference) for a
detailed list of available functionality.

**NOTE:** Some notebook implementations modify the core IPython package and
magics may not work correctly (see [here][issue-47] or [here][issue-50]). In
this case, using `ipytest.run` and `ipytest.clean_tests` directly should still
work as expected.

[issue-47]: https://github.com/chmp/ipytest/issues/47
[issue-50]: https://github.com/chmp/ipytest/issues/50

## Global state

There are multiple sources of global state when using pytest inside the notebook:
Expand Down
8 changes: 8 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ This function is a thin wrapper around `pytest.main` and will execute any tests
defined in the current notebook session. See the [reference](#reference) for a
detailed list of available functionality.

**NOTE:** Some notebook implementations modify the core IPython package and
magics may not work correctly (see [here][issue-47] or [here][issue-50]). In
this case, using `ipytest.run` and `ipytest.clean_tests` directly should still
work as expected.

[issue-47]: https://github.com/chmp/ipytest/issues/47
[issue-50]: https://github.com/chmp/ipytest/issues/50

## Global state

There are multiple sources of global state when using pytest inside the notebook:
Expand Down

0 comments on commit 2c575cd

Please sign in to comment.