From 4aac06eb866df930cbb32c05048b465fd500b51b Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Wed, 13 Mar 2013 16:33:25 +0100 Subject: [PATCH] Remove tags for known failures due to the import hack --- test/test_cache.py | 3 --- test/test_regression.py | 3 --- tox.ini | 6 ------ 3 files changed, 12 deletions(-) diff --git a/test/test_cache.py b/test/test_cache.py index 8352fd11..9f845fc2 100644 --- a/test/test_cache.py +++ b/test/test_cache.py @@ -1,5 +1,3 @@ -import pytest - from jedi import settings from jedi.cache import ParserCacheItem, _ModulePickling @@ -7,7 +5,6 @@ from jedi.cache import ParserCacheItem, _ModulePickling ModulePickling = _ModulePickling() -@pytest.mark.skipif("sys.version_info >= (3,0)") def test_modulepickling_change_cache_dir(monkeypatch, tmpdir): """ ModulePickling should not save old cache when cache_directory is changed. diff --git a/test/test_regression.py b/test/test_regression.py index d71dec1a..6ed6a9f9 100755 --- a/test/test_regression.py +++ b/test/test_regression.py @@ -11,8 +11,6 @@ import itertools import os import textwrap -import pytest - from .base import TestBase, unittest, cwd_at import jedi @@ -527,7 +525,6 @@ class TestSpeed(TestBase): #print(jedi.imports.imports_processed) -@pytest.mark.skipif("sys.version_info >= (3,0)") def test_settings_module(): """ jedi.settings and jedi.cache.settings must be the same module. diff --git a/tox.ini b/tox.ini index 6b2bad01..6dc16930 100644 --- a/tox.ini +++ b/tox.ini @@ -14,9 +14,3 @@ deps = deps = unittest2 {[testenv]deps} -[testenv:py32] -# TODO: Without this setting, test uses ~/.cache/jedi/. -# There could be a bug due to import hack. -# See test_settings_module in test/test_regression.py. -setenv = - XDG_CACHE_HOME={envtmpdir}/cache