()
| 35 | |
| 36 | |
| 37 | def test_exclude_unset(): |
| 38 | assert exclude_unset({"a": 1, "b": UNSET, "c": None, "d": {"x": UNSET}}) == { |
| 39 | "a": 1, |
| 40 | "c": None, |
| 41 | "d": {}, |
| 42 | } |
| 43 | assert exclude_unset([1, UNSET, None, {"x": UNSET}]) == [1, None, {}] |
| 44 | assert exclude_unset(UNSET) is None |
| 45 | assert exclude_unset(123) == 123 |
| 46 | |
| 47 | |
| 48 | def test_loguru_escape_tag(): |
nothing calls this directly
no test coverage detected