aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/more-itertools/py3/patches/01-fix-tests.patch
blob: 497d4d8da4c9bf333a253e46e50fdeacfbf3af35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- contrib/python/more-itertools/py3/tests/test_more.py	(index)
+++ contrib/python/more-itertools/py3/tests/test_more.py	(working tree)
@@ -177,13 +177,13 @@ class IterOnlyRange:
     """User-defined iterable class which only support __iter__.

     >>> r = IterOnlyRange(5)
-    >>> r[0]
+    >>> r[0]  # doctest: +SKIP
     AttributeError: IterOnlyRange instance has no attribute '__getitem__'

     Note: In Python 3, ``TypeError`` will be raised because ``object`` is
     inherited implicitly by default.

-    >>> r[0]
+    >>> r[0]  # doctest: +SKIP
     TypeError: 'IterOnlyRange' object does not support indexing
     """