Skip to content

Commit dc34860

Browse files
djareckaeffigies
authored andcommitted
adding pytestmark to test that has not been changed to pytest
1 parent efc787f commit dc34860

11 files changed

+11
-6
lines changed

nibabel/tests/test_scripts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
from .test_parrec_data import BALLS, AFF_OFF
3434
from ..testing_pytest import assert_data_similar
3535

36+
import pytest; pytestmark = pytest.mark.skip()
3637

3738
def _proc_stdout(stdout):
3839
stdout_str = stdout.decode('latin1').strip()

nibabel/tests/test_spaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from nose.tools import (assert_true, assert_false, assert_raises,
1717
assert_equal, assert_not_equal)
18-
18+
import pytest; pytestmark = pytest.mark.skip()
1919

2020
def assert_all_in(in_shape, in_affine, out_shape, out_affine):
2121
slices = tuple(slice(N) for N in in_shape)

nibabel/tests/test_spatialimages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from ..tmpdirs import InTemporaryDirectory
3131
from ..deprecator import ExpiredDeprecationError
3232
from .. import load as top_load
33-
33+
import pytest; pytestmark = pytest.mark.skip()
3434

3535
def test_header_init():
3636
# test the basic header

nibabel/tests/test_spm2analyze.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from ..testing import assert_equal, assert_raises
1919

2020
from . import test_spm99analyze
21-
21+
import pytest; pytestmark = pytest.mark.skip()
2222

2323
class TestSpm2AnalyzeHeader(test_spm99analyze.TestSpm99AnalyzeHeader):
2424
header_class = Spm2AnalyzeHeader

nibabel/tests/test_spm99analyze.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
from ..testing_pytest import bytesio_round_trip, bytesio_filemap
3333

3434
from . import test_analyze
35+
import pytest; pytestmark = pytest.mark.skip()
3536

3637
FLOAT_TYPES = np.sctypes['float']
3738
COMPLEX_TYPES = np.sctypes['complex']

nibabel/tests/test_testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from ..testing import (error_warnings, suppress_warnings,
1212
clear_and_catch_warnings, assert_allclose_safely,
1313
get_fresh_mod, assert_re_in, test_data, data_path)
14-
14+
import pytest; pytestmark = pytest.mark.skip()
1515

1616
def test_assert_allclose_safely():
1717
# Test the safe version of allclose

nibabel/tests/test_tmpdirs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from ..tmpdirs import InGivenDirectory
77

88
from nose.tools import assert_true, assert_equal
9+
import pytest; pytestmark = pytest.mark.skip()
910

1011
MY_PATH = abspath(__file__)
1112
MY_DIR = dirname(MY_PATH)

nibabel/tests/test_trackvis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from numpy.testing import assert_array_almost_equal
1313
from ..testing import (assert_true, assert_false, assert_equal, assert_raises, assert_warns,
1414
assert_array_equal, suppress_warnings)
15-
15+
import pytest; pytestmark = pytest.mark.skip()
1616

1717
def test_write():
1818
streams = []

nibabel/tests/test_tripwire.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from nose.tools import (assert_true, assert_false, assert_raises,
77
assert_equal, assert_not_equal)
8-
8+
import pytest; pytestmark = pytest.mark.skip()
99

1010
def test_is_tripwire():
1111
assert_false(is_tripwire(object()))

nibabel/tests/test_viewers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from numpy.testing import assert_array_equal, assert_equal
1919

2020
from nose.tools import assert_raises, assert_true
21+
import pytest; pytestmark = pytest.mark.skip()
2122

2223
# Need at least MPL 1.3 for viewer tests.
2324
matplotlib, has_mpl, _ = optional_package('matplotlib', min_version='1.3')

nibabel/tests/test_volumeutils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161

6262
from ..testing_pytest import (assert_dt_equal, assert_allclose_safely,
6363
suppress_warnings, clear_and_catch_warnings)
64+
import pytest; pytestmark = pytest.mark.skip()
6465

6566
#: convenience variables for numpy types
6667
FLOAT_TYPES = np.sctypes['float']

0 commit comments

Comments
 (0)