Add absolute import detection

This commit is contained in:
Laurens Van Houtven
2013-06-21 17:02:17 +02:00
parent fd87e8af2a
commit 5701ac1a10
3 changed files with 59 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ else:
import os
from os.path import abspath, dirname
import functools
import pytest
import jedi
@@ -60,3 +61,6 @@ def cwd_at(path):
os.chdir(oldcwd)
return wrapper
return decorator
py3_only = pytest.mark.skipif("not is_py3k")
py2_only = pytest.mark.skipif("is_py3k")