test fixed (code does not work for Py26)

This commit is contained in:
Ilya.Kazakevich
2015-07-18 00:10:16 +03:00
parent 9b137f8060
commit 4336b495eb
@@ -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