Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24442c0

Browse files
nehbehlbaijum
andauthored
Add a note about usage with IPython or Jupyter
Co-authored-by: Baiju Muthukadan <[email protected]>
1 parent a893286 commit 24442c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/getting-started.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@ You can run the above test case from a shell like this::
140140

141141
The above result shows that the test has been successfully completed.
142142

143+
Note: To run the above test in IPython or Jupyter, you should pass a couple of arguments to the `main` function as shown below:
144+
::
145+
146+
unittest.main(argv=['first-arg-is-ignored'], exit=False)
147+
148+
143149

144150
Walkthrough of the example
145151
~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)