Commit dbecc779 authored by Stefan Behnel's avatar Stefan Behnel

Minor test fix in PyPy.

parent b8305e4a
......@@ -116,9 +116,9 @@ def mod_format(str s, values):
True
>>> mod_format(format2, ('XYZ', 'ABC')) == 'abcXYZdefABCghi' or mod_format(format2, ('XYZ', 'ABC'))
True
>>> mod_format(None, 'sa')
>>> mod_format(None, 'sa') # doctest: +ELLIPSIS
Traceback (most recent call last):
TypeError: unsupported operand type(s) for %: 'NoneType' and 'str'
TypeError: ...NoneType...
>>> class RMod(object):
... def __rmod__(self, other):
... return 123
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment