Magic.parse_options can handle --foo=bar long options
()
| 186 | |
| 187 | |
| 188 | def test_magic_parse_long_options(): |
| 189 | """Magic.parse_options can handle --foo=bar long options""" |
| 190 | ip = get_ipython() |
| 191 | m = DummyMagics(ip) |
| 192 | opts, _ = m.parse_options("--foo --bar=bubble", "a", "foo", "bar=") |
| 193 | assert "foo" in opts |
| 194 | assert "bar" in opts |
| 195 | assert opts["bar"] == "bubble" |
| 196 | |
| 197 | |
| 198 | def doctest_hist_f(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…