Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 933fad3

Browse files
committed
STY/TEST: black and skipif syntax
1 parent 9621af5 commit 933fad3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎nipype/pipeline/plugins/tests/test_callback.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010

1111
try:
1212
import pandas
13+
1314
has_pandas = True
1415
except ImportError:
1516
has_pandas = False
1617

18+
1719
def func():
1820
return
1921

@@ -69,7 +71,7 @@ def test_callback_exception(tmpdir, plugin, stop_on_first_crash):
6971

7072

7173
@pytest.mark.parametrize("plugin", ["Linear", "MultiProc", "LegacyMultiProc"])
72-
@pytest.mark.skipif(not has_pandas, "Test requires pandas")
74+
@pytest.mark.skipif(not has_pandas, reason="Test requires pandas")
7375
def test_callback_gantt(tmpdir, plugin):
7476
import logging
7577

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /