You can pass a tuple to the assertion:

```
self.assertIsInstace(self.dummy_int_model.big_int_field, (int, long))
```