This will fail on PY3 because of the comma syntax. Can this be replaced by a `assertRaisesMessage`?