Fix test for pytest >= 2.6.3

Pytest mangles the assert statements in test functions so that they
raise specialized assertion errors.  Starting with pytest 2.6.3, the
exception raised by::

    assert False, 'foo'

stringifies to ``"foo\nassertFalse"`` (where before it stringified to
``"foo"``.)
Get tests to run under python 2.6