• Home
  • Raw
  • Download

Lines Matching refs:frozen

122         @dataclass(frozen=True)
131 @dataclass(frozen=True)
224 @dataclass(frozen=True)
258 C = make_dataclass('C', attributes, frozen=True)
811 @dataclass(frozen=True, unsafe_hash=True)
920 @dataclass(frozen=True)
1051 @dataclass(frozen=True)
2339 def test(case, unsafe_hash, eq, frozen, with_hash, result): argument
2341 frozen=frozen):
2344 @dataclass(unsafe_hash=unsafe_hash, eq=eq, frozen=frozen)
2349 @dataclass(unsafe_hash=unsafe_hash, eq=eq, frozen=frozen)
2374 @dataclass(unsafe_hash=unsafe_hash, eq=eq, frozen=frozen)
2388 … for case, (unsafe_hash, eq, frozen, res_no_defined_hash, res_defined_hash) in enumerate([
2398 test(case, unsafe_hash, eq, frozen, False, res_no_defined_hash)
2399 test(case, unsafe_hash, eq, frozen, True, res_defined_hash)
2404 … test(case, non_bool(unsafe_hash), non_bool(eq), non_bool(frozen), False, res_no_defined_hash)
2405 … test(case, non_bool(unsafe_hash), non_bool(eq), non_bool(frozen), True, res_defined_hash)
2444 @dataclass(frozen=True)
2455 @dataclass(frozen=True)
2479 for frozen, eq, base, expected in [
2500 with self.subTest(frozen=frozen, eq=eq, base=base, expected=expected):
2502 if frozen is None and eq is None:
2506 elif frozen is None:
2511 @dataclass(frozen=frozen)
2515 @dataclass(frozen=frozen, eq=eq)
2544 @dataclass(frozen=True)
2555 @dataclass(frozen=True)
2559 @dataclass(frozen=True)
2576 @dataclass(frozen=True)
2605 @dataclass(frozen=True)
2620 @dataclass(frozen=True)
2631 @dataclass(frozen=True)
2657 @dataclass(frozen=True)
2665 @dataclass(frozen=True)
2671 @dataclass(frozen=False)
2679 @dataclass(frozen=True)
3127 @dataclass(frozen=True)
3138 @dataclass(frozen=True)
3170 @dataclass(frozen=True)
3181 @dataclass(frozen=True)