Checking to make sure that output is quiet
()
| 18 | |
| 19 | |
| 20 | def test_output_quiet(): |
| 21 | """Checking to make sure that output is quiet""" |
| 22 | |
| 23 | with AssertNotPrints("2"): |
| 24 | ip.run_cell("1+1;", store_history=True) |
| 25 | |
| 26 | with AssertNotPrints("2"): |
| 27 | ip.run_cell("1+1; # comment with a semicolon", store_history=True) |
| 28 | |
| 29 | with AssertNotPrints("2"): |
| 30 | ip.run_cell("1+1;\n#commented_out_function()", store_history=True) |
| 31 | |
| 32 | |
| 33 | def test_underscore_no_overwrite_user(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…