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 imports the *standard library* unittest,
despite there being a local "unittest" module. It specifies that it
wants the stdlib one with the ``absolute_import`` __future__ import.
The twisted equivalent of this module is ``twisted.trial._synctest``.
"""
from __future__ import absolute_import
import unittest # this is stdlib unittest, but jedi gets the local one
class Assertions(unittest.TestCase):
pass