Given that Pyramid seems to be the one behaving differently in Python 3, it would not be easy I think to make it so that the original test passes. So in ccd74df, I revised the comment in the test to reflect the fact that it's doing a much looser check now (checks for one of two possible content types instead of asserting that it will definitely be `application/json`).