(self)
| 1255 | self.assertSerializedEqual(complex(1, 2)) |
| 1256 | |
| 1257 | def test_register_non_serializer(self): |
| 1258 | with self.assertRaisesMessage( |
| 1259 | ValueError, "'TestModel1' must inherit from 'BaseSerializer'." |
| 1260 | ): |
| 1261 | MigrationWriter.register_serializer(complex, TestModel1) |
| 1262 | |
| 1263 | def test_composite_pk_import(self): |
| 1264 | migration = type( |
nothing calls this directly
no test coverage detected