Toggle doctest_mode twice, it should be a no-op and run without error
()
| 478 | del ip.user_ns['myvar'] |
| 479 | |
| 480 | def test_doctest_mode(): |
| 481 | "Toggle doctest_mode twice, it should be a no-op and run without error" |
| 482 | _ip.magic('doctest_mode') |
| 483 | _ip.magic('doctest_mode') |
| 484 | |
| 485 | |
| 486 | def test_parse_options(): |