(self, chord_type)
| 1612 | |
| 1613 | @pytest.mark.parametrize("chord_type", [chord, chord_subclass]) |
| 1614 | def test_from_dict_with_body(self, chord_type): |
| 1615 | header = body = self.add.s(1, 2) |
| 1616 | original_chord = chord_type(header=header, body=body) |
| 1617 | rebuilt_chord = chord_type.from_dict(dict(original_chord)) |
| 1618 | assert isinstance(rebuilt_chord, chord_type) |
| 1619 | |
| 1620 | def test_from_dict_deep_deserialize(self, subtests): |
| 1621 | header = body = self.add.s(1, 2) |