mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
fix test skip and py3.6
This commit is contained in:
@@ -183,6 +183,8 @@ def test_numpydoc_parameters_alternative_types():
|
|||||||
assert 'numerator' in names
|
assert 'numerator' in names
|
||||||
assert 'append' in names
|
assert 'append' in names
|
||||||
|
|
||||||
|
@pytest.mark.skipif(numpydoc_unavailable,
|
||||||
|
reason='numpydoc module is unavailable')
|
||||||
def test_numpydoc_returns():
|
def test_numpydoc_returns():
|
||||||
s = dedent('''
|
s = dedent('''
|
||||||
def foobar():
|
def foobar():
|
||||||
@@ -242,7 +244,9 @@ def test_numpydoc_returns_alternative_types():
|
|||||||
assert 'capitalize' not in names
|
assert 'capitalize' not in names
|
||||||
assert 'numerator' in names
|
assert 'numerator' in names
|
||||||
assert 'append' in names
|
assert 'append' in names
|
||||||
|
|
||||||
|
@pytest.mark.skipif(numpydoc_unavailable,
|
||||||
|
reason='numpydoc module is unavailable')
|
||||||
def test_numpydoc_returns_list_of():
|
def test_numpydoc_returns_list_of():
|
||||||
s = dedent('''
|
s = dedent('''
|
||||||
def foobar():
|
def foobar():
|
||||||
|
|||||||
6
tox.ini
6
tox.ini
@@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py26, py27, py33, py34, py35
|
envlist = py26, py27, py33, py34, py35, py36
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
pytest>=2.3.5
|
pytest>=2.3.5
|
||||||
@@ -35,6 +35,10 @@ deps =
|
|||||||
numpydoc
|
numpydoc
|
||||||
{[testenv]deps}
|
{[testenv]deps}
|
||||||
[testenv:py35]
|
[testenv:py35]
|
||||||
|
deps =
|
||||||
|
numpydoc
|
||||||
|
{[testenv]deps}
|
||||||
|
[testenv:py36]
|
||||||
deps =
|
deps =
|
||||||
numpydoc
|
numpydoc
|
||||||
{[testenv]deps}
|
{[testenv]deps}
|
||||||
|
|||||||
Reference in New Issue
Block a user