Skip to content
Snippets Groups Projects

Updated doctest's output to reflect error message found in summer 2019.

Merged Christopher Bohn requested to merge bohn/unittest_and_doctest:patch-1 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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')
Loading