Skip to content

Commit e229c79

Browse files
authored
Make unload test assertion explicit
1 parent 902b0d5 commit e229c79

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_autotime.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ def test_full_cycle():
88
ip = get_ipython()
99

1010
with tt.AssertPrints('time: '):
11-
ip.run_cell("%load_ext autotime")
11+
ip.run_cell('%load_ext autotime')
1212

1313
with tt.AssertPrints('time: '):
14-
ip.run_cell("x = 1")
14+
ip.run_cell('x = 1')
1515

16-
with tt.AssertPrints(''):
17-
ip.run_cell("%unload_ext autotime")
16+
with tt.AssertNotPrints('time: '):
17+
ip.run_cell('%unload_ext autotime')

0 commit comments

Comments
 (0)