Failed on python 3, and a good thing. This isn't checking what you think.

```python
for u in disp:
  for v in disp[u]:
    assert disp[u][v] >= 0
```