Checking to make sure that output is displayed
()
| 5 | |
| 6 | |
| 7 | def test_output_displayed(): |
| 8 | """Checking to make sure that output is displayed""" |
| 9 | |
| 10 | with AssertPrints("2"): |
| 11 | ip.run_cell("1+1", store_history=True) |
| 12 | |
| 13 | with AssertPrints("2"): |
| 14 | ip.run_cell("1+1 # comment with a semicolon;", store_history=True) |
| 15 | |
| 16 | with AssertPrints("2"): |
| 17 | ip.run_cell("1+1\n#commented_out_function();", store_history=True) |
| 18 | |
| 19 | |
| 20 | def test_output_quiet(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…