if you use eq_ as iandrei said, your line becomes 
```python
eq_(stream.owner.id, new_owner.id)
```
And if it fails, you'll get an output of the two values like
1 != 2