you do not need a lambda here, `self.assertRaises(ValueError, fetch_api.fetch, filename)` should work