nteract / testbook

🧪 📗 Unit test your Jupyter Notebooks the right way
https://testbook.readthedocs.io
BSD 3-Clause "New" or "Revised" License
420 stars 37 forks source link

Fix underscore issue #84

Closed rohitsanj closed 3 years ago

rohitsanj commented 3 years ago

Fixes #82

Used get_ipython().last_execution_result.result to get last execution result instead of _ (underscore).

Reference StackOverflow answer