1
0
forked from VimPlug/jedi

Add absolute_import failing SSCCE, and get pytest to ignore it

This commit is contained in:
Laurens Van Houtven
2013-06-21 19:25:18 +02:00
parent 5701ac1a10
commit d32045303f
4 changed files with 36 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
"""
This is a module that shadows a builtin (intentionally).
It imports a local module, which in turn imports stdlib unittest (the
name shadowed by this module). If that is properly resolved, there's
no problem. However, if jedi doesn't understand absolute_imports, it
will get this module again, causing infinite recursion.
"""
from local_module import Assertions
class TestCase(Assertions):
def test(self):
self.assertT