()
| 23 | |
| 24 | |
| 25 | def test_unset(): |
| 26 | assert isinstance(UNSET, Unset) |
| 27 | assert bool(UNSET) is False |
| 28 | assert copy.copy(UNSET) is UNSET |
| 29 | assert copy.deepcopy(UNSET) is UNSET |
| 30 | assert pickle.loads(pickle.dumps(UNSET)) is UNSET |
| 31 | assert type_validate_python(UnsetType, UNSET) is UNSET |
| 32 | |
| 33 | with pytest.raises(ValidationError): |
| 34 | type_validate_python(UnsetType, 123) |
| 35 | |
| 36 | |
| 37 | def test_exclude_unset(): |
nothing calls this directly
no test coverage detected