We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a5e31 commit f3791a3Copy full SHA for f3791a3
tests/snippets/test_re.py
@@ -7,6 +7,7 @@
7
mo = re.search(needle, haystack)
8
print(mo)
9
10
-assert isinstance(mo, re.Match)
+# Does not work on python 3.6:
11
+# assert isinstance(mo, re.Match)
12
assert mo.start() == 1
13
assert mo.end() == 5
0 commit comments