ipython/ipython — pull request #913 by takluyver (2011-10-20 21:50:07+00:00)
Title: Py3 tests2

Fixes for a couple of tests under Python 3.

@ellisonbg, I'm having some trouble with a test in nbformat. With these changes, I get:

```
======================================================================
FAIL: test_roundtrip (IPython.nbformat.v2.tests.test_json.TestJSON)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/thomas/Code/virtualenvs/ipy-2to3/lib/python3.2/site-packages/ipython-0.12.dev-py3.2.egg/IPython/nbformat/v2/tests/test_json.py", line 18, in test_roundtrip
self.assertEquals(reads(s),nb0)
```

followed by a long dump of the before and after dicts - I can't even spot the `!=` in there, but I think the difference is between:

```
{'latex': '$a$', 'prompt_number': 3, 'svg': '