Make the error message for when the time data and format do not match clearer.
diff --git a/Lib/_strptime.py b/Lib/_strptime.py
index ce8525b..3fb5602 100644
--- a/Lib/_strptime.py
+++ b/Lib/_strptime.py
@@ -306,7 +306,7 @@
_cache_lock.release()
found = format_regex.match(data_string)
if not found:
- raise ValueError("time data did not match format: data=%s fmt=%s" %
+ raise ValueError("time data %r does not match format %r" %
(data_string, format))
if len(data_string) != found.end():
raise ValueError("unconverted data remains: %s" %