Fix test breakage with pytest == 2.6.3

The latest release of pytest breaks a test.

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"``.)