re.compile returns string - tests for #68

This commit is contained in:
David Halter
2012-11-23 00:34:17 +01:00
parent b020a10053
commit a4b8c720e7

View File

@@ -7,6 +7,9 @@ std library stuff
# -----------------
import re
c = re.compile(r'a')
# re.compile should not return str -> issue #68
#? []
c.startswith
#? int()
c.match().start()