The test name is '..._not_raises' and you assert that it raises an exception... one of them may be wrong.