From 4336b495eb49a4bdb423d2715c94394e4a4eeeeb Mon Sep 17 00:00:00 2001 From: "Ilya.Kazakevich" Date: Sat, 18 Jul 2015 00:10:16 +0300 Subject: [PATCH] test fixed (code does not work for Py26) --- .../jetbrains/env/python/testing/PythonUnitTestingTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/testSrc/com/jetbrains/env/python/testing/PythonUnitTestingTest.java b/python/testSrc/com/jetbrains/env/python/testing/PythonUnitTestingTest.java index cb8751f6517d..afa2dc30a2ee 100644 --- a/python/testSrc/com/jetbrains/env/python/testing/PythonUnitTestingTest.java +++ b/python/testSrc/com/jetbrains/env/python/testing/PythonUnitTestingTest.java @@ -35,8 +35,8 @@ public class PythonUnitTestingTest extends PyEnvTestCase { @Override public boolean isLanguageLevelSupported(@NotNull final LanguageLevel level) { - // This test requires unittest to have decorator "test" that does not exists in 2.5 - return level.compareTo(LanguageLevel.PYTHON25) > 0; + // This test requires unittest to have decorator "test" that does not exists in 2.6 + return level.compareTo(LanguageLevel.PYTHON26) > 0; } @Override