(self)
| 566 | is_(d.copy(), d) |
| 567 | |
| 568 | def test_serialize(self): |
| 569 | d = util.immutabledict({1: 2, 3: 4}) |
| 570 | for loads, dumps in picklers(): |
| 571 | d2 = loads(dumps(d)) |
| 572 | |
| 573 | eq_(d2, {1: 2, 3: 4}) |
| 574 | |
| 575 | assert isinstance(d2, util.immutabledict) |
| 576 | |
| 577 | def test_repr(self): |
| 578 | class="cm"># this is used by the stub generator in alembic |