Commits

Philip Jenvey committed 4d32af2

update error message

Comments (0)

Files changed (1)

pypy/module/_csv/interp_reader.py

                             (len(field_builder.build()) > 0 or
                              state == IN_QUOTED_FIELD)):
                         if dialect.strict:
-                            raise self.error(u"newline inside string")
+                            raise self.error(u"unexpected end of data")
                         else:
                             self.save_field(field_builder)
                             break