(input_value, expected)
| 26 | [([], frozenset()), ([1, '2', b'3'], {1, '2', b'3'}), (frozenset([1, '2', b'3']), {1, '2', b'3'})], |
| 27 | ) |
| 28 | def test_frozenset_any(input_value, expected): |
| 29 | v = SchemaValidator(cs.frozenset_schema()) |
| 30 | output = v.validate_python(input_value) |
| 31 | assert output == expected |
| 32 | assert isinstance(output, frozenset) |
| 33 | |
| 34 | |
| 35 | def test_no_copy(): |
nothing calls this directly
no test coverage detected