+ pytest.fail("Expected exception")
+
+ @pytest.mark.parametrize(
+ "body,s", [
+ ("", 'dummy'),
+ ("", 'foo'),
+ ("", 'key,value'),
+ ('''
-
''')
- def test_repeat_i18n_name_error(self, body, exc):
- self.assertTrue(body[exc.offset:].startswith(
- 'repeat'), body[exc.offset:])
-
- @error('''
+
''', 'repeat'),
+ ('''