mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Old interpreters removed from tox tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
skipsdist=True
|
||||
envlist = py26, py27, py32, py34
|
||||
envlist = py27, py34
|
||||
[testenv]
|
||||
commands=python -c "print 1"
|
||||
@@ -1,6 +1,6 @@
|
||||
[tox]
|
||||
skipsdist=True
|
||||
envlist = py26, py27, py34, py32
|
||||
envlist = py27, py34
|
||||
skip_missing_interpreters = True
|
||||
[testenv:py27]
|
||||
commands=python -c "import sys; print('Python ' + str(sys.version))"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[tox]
|
||||
skipsdist=True
|
||||
envlist = py26, py27, py34, py32
|
||||
envlist = py27, py34
|
||||
[testenv]
|
||||
deps=pytest
|
||||
commands=py.test
|
||||
@@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
skipsdist=True
|
||||
envlist = py26, py27, py32, py34
|
||||
envlist = py27, py34
|
||||
[testenv]
|
||||
commands=python -c "print 1"
|
||||
@@ -14,7 +14,6 @@ Classifier: Intended Audience :: Developers
|
||||
Classifier: Topic :: Software Development :: Build Tools
|
||||
Classifier: License :: OSI Approved :: MIT License
|
||||
Classifier: Programming Language :: Python :: 2
|
||||
Classifier: Programming Language :: Python :: 2.6
|
||||
Classifier: Programming Language :: Python :: 2.7
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.2
|
||||
|
||||
@@ -55,11 +55,8 @@ setup(
|
||||
# Specify the Python versions you support here. In particular, ensure
|
||||
# that you indicate whether you support Python 2, Python 3 or both.
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.6',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.2',
|
||||
'Programming Language :: Python :: 3.3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
],
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = py27,py26
|
||||
envlist = py27
|
||||
|
||||
[testenv]
|
||||
deps=nose
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
skipsdist=True
|
||||
envlist = py26, py27, py32, py34
|
||||
envlist = py27, py34
|
||||
[testenv]
|
||||
commands=python -m unittest discover
|
||||
@@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
skipsdist=True
|
||||
envlist = py26, py27, py34, py32
|
||||
envlist = py27, py34
|
||||
[testenv]
|
||||
commands=python -m unittest discover
|
||||
+1
-14
@@ -54,10 +54,7 @@ public final class PyToxTest extends PyEnvTestCase {
|
||||
public void testToxSimpleRun() {
|
||||
runPythonTest(new MyPyProcessWithConsoleTestTask("/toxtest/toxSimpleRun/", 2,
|
||||
() -> new MyTestProcessRunner(),
|
||||
Arrays.asList(
|
||||
// Should fail, no skip in 26
|
||||
Pair.create("py26", new InterpreterExpectations(
|
||||
"AttributeError: 'module' object has no attribute 'skip'", false)),
|
||||
Collections.singletonList(
|
||||
Pair.create("py27", new InterpreterExpectations("", true))
|
||||
),
|
||||
Integer.MAX_VALUE));
|
||||
@@ -87,10 +84,8 @@ public final class PyToxTest extends PyEnvTestCase {
|
||||
runPythonTest(new MyPyProcessWithConsoleTestTask("/toxtest/toxPyTest/", 1,
|
||||
() -> new MyTestProcessRunner(),
|
||||
Arrays.asList(
|
||||
Pair.create("py26", new InterpreterExpectations("", true)),
|
||||
Pair.create("py27", new InterpreterExpectations("", true)),
|
||||
// Does not support 3.4
|
||||
Pair.create("py32", new InterpreterExpectations("SyntaxError", false)),
|
||||
Pair.create("py34", new InterpreterExpectations("SyntaxError", false))
|
||||
),
|
||||
Integer.MAX_VALUE)
|
||||
@@ -105,10 +100,8 @@ public final class PyToxTest extends PyEnvTestCase {
|
||||
runPythonTest(new MyPyProcessWithConsoleTestTask("/toxtest/toxUnitTest/", 1,
|
||||
() -> new MyTestProcessRunner(),
|
||||
Arrays.asList(
|
||||
Pair.create("py26", new InterpreterExpectations("", true)),
|
||||
Pair.create("py27", new InterpreterExpectations("", true)),
|
||||
// Does not support 3.4
|
||||
Pair.create("py32", new InterpreterExpectations("SyntaxError", false)),
|
||||
Pair.create("py34", new InterpreterExpectations("SyntaxError", false))
|
||||
),
|
||||
Integer.MAX_VALUE)
|
||||
@@ -123,9 +116,7 @@ public final class PyToxTest extends PyEnvTestCase {
|
||||
runPythonTest(new MyPyProcessWithConsoleTestTask("/toxtest/toxOneInterpreter/", 0,
|
||||
() -> new MyTestProcessRunner(),
|
||||
Arrays.asList(
|
||||
Pair.create("py26", new InterpreterExpectations("", false)),
|
||||
Pair.create("py27", new InterpreterExpectations("ython 2.7", true)),
|
||||
Pair.create("py32", new InterpreterExpectations("", false)),
|
||||
Pair.create("py34", new InterpreterExpectations("", false))
|
||||
),
|
||||
Integer.MAX_VALUE)
|
||||
@@ -155,10 +146,8 @@ public final class PyToxTest extends PyEnvTestCase {
|
||||
runPythonTest(new MyPyProcessWithConsoleTestTask("/toxtest/toxSuccess/", 1,
|
||||
() -> new MyTestProcessRunner(),
|
||||
Arrays.asList(
|
||||
Pair.create("py26", new InterpreterExpectations("I am 2.6", true)),
|
||||
Pair.create("py27", new InterpreterExpectations("I am 2.7", true)),
|
||||
// Should have output
|
||||
Pair.create("py32", new InterpreterExpectations("I am 3.2", true)),
|
||||
Pair.create("py34", new InterpreterExpectations("I am 3.4", true))
|
||||
),
|
||||
Integer.MAX_VALUE)
|
||||
@@ -174,9 +163,7 @@ public final class PyToxTest extends PyEnvTestCase {
|
||||
() -> new MyTestProcessRunner(1),
|
||||
Arrays.asList(
|
||||
//26 and 27 only used for first time, they aren't used after rerun
|
||||
Pair.create("py26", new InterpreterExpectations("", true, 1)),
|
||||
Pair.create("py27", new InterpreterExpectations("", true, 1)),
|
||||
Pair.create("py32", new InterpreterExpectations("", false)),
|
||||
Pair.create("py34", new InterpreterExpectations("", false))
|
||||
),
|
||||
Integer.MAX_VALUE)
|
||||
|
||||
Reference in New Issue
Block a user