empa-scientific-it / python-tutorial

Material for a Jupyter-based Python tutorial
MIT License
31 stars 9 forks source link

Cell magic hangs on Vscode #220

Open baffelli opened 6 months ago

baffelli commented 6 months ago

Describe the bug The cell magic %%ipytest keeps running and locks the Ipython kernel when run used Vscode Ipython support.

To Reproduce Steps to reproduce the behavior:

  1. Install the environment using conda
  2. Edit a notebook using vscode and select the ipython kernel of the environment
  3. Try running a cell with ipytest

Expected behavior The tests run and the test outputs are shown

Screenshots If applicable, add screenshots to help explain your problem.

Where did you run the tutorial?