Splitting positionals across flags is no longer allowed in traitlets 5
(self)
| 457 | assert cl.extra_args == ["a", "b", "c"] |
| 458 | |
| 459 | def test_split_positional(self): |
| 460 | """Splitting positionals across flags is no longer allowed in traitlets 5""" |
| 461 | cl = self.klass(log=log) # type:ignore |
| 462 | argv = ["a", "--Class.trait=5", "b"] |
| 463 | with pytest.raises(SystemExit): |
| 464 | cl.load_config(argv) |
| 465 | |
| 466 | |
| 467 | class TestConfig(TestCase): |
nothing calls this directly
no test coverage detected