Complete nitpick: I would structure the code differently:
<pre>
inp = ...
expected = ...
do stuff...

inp2 = ...
expected2 = ...
do stuff
</pre>