Shallow astuple returns correct dict.
(self, C, tuple_factory)
| 303 | |
| 304 | @given(st.sampled_from(SEQUENCE_TYPES)) |
| 305 | def test_shallow(self, C, tuple_factory): |
| 306 | """ |
| 307 | Shallow astuple returns correct dict. |
| 308 | """ |
| 309 | assert tuple_factory([1, 2]) == astuple( |
| 310 | C(x=1, y=2), False, tuple_factory=tuple_factory |
| 311 | ) |
| 312 | |
| 313 | @given(st.sampled_from(SEQUENCE_TYPES)) |
| 314 | def test_recurse(self, C, tuple_factory): |