(self)
| 91 | assert bx == {} |
| 92 | |
| 93 | def test_numeric_keys(self): |
| 94 | bx = Box.from_yaml("1: one # first\n2.5: x\n") |
| 95 | assert bx.get_comment(1) == {"eol": "first"} |
| 96 | assert bx.to_yaml() == "1: one # first\n2.5: x\n" |
| 97 | |
| 98 | def test_files(self, tmp_path): |
| 99 | path = tmp_path / "config.yaml" |
nothing calls this directly
no test coverage detected