diff --git a/examples.py b/examples.py
index b0790a7b71536d46cc3596eefda147d9a6311dac..a8eaab033be189e4b9f83a6817fff757b2273f29 100644
--- a/examples.py
+++ b/examples.py
@@ -11,7 +11,7 @@ def parse(pair):
     >>> parse('invalid')
     Traceback (most recent call last):
       ...
-    ValueError: need more than 1 value to unpack
+    ValueError: not enough values to unpack (expected 2, got 1)
 
     Likewise if there is more than one separator:
     >>> parse('first: second: third')