Fix _sre issues

This commit is contained in:
Dave Halter
2018-12-09 12:54:39 +01:00
parent f7442032b2
commit 3ec194093d
2 changed files with 4 additions and 7 deletions

View File

@@ -265,7 +265,10 @@ check(DynamicParam())
import _sre
#< 0 (-3,7), (0,0), ('_sre', None, None)
# TODO reenable this, it's currently not working, because of 2/3
# inconsistencies in typeshed (_sre exists in typeshed/2, but not in
# typeshed/3).
##< 0 (-3,7), (0,0), ('_sre', None, None)
_sre
# -----------------

View File

@@ -111,9 +111,3 @@ import import_tree
import_tree.a
import_tree.b
# This is something that raised an error, because it was using a complex
# mixture of Jedi fakes and compiled objects.
import _sre
##! 15 attribute-error # Doesn't seem to be a problem anymore.
_sre.compile().not_existing