[med-svn] [Git][med-team/nibabel][master] skip*.patch: fixups
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Thu Jan 26 18:23:26 GMT 2023
Étienne Mollier pushed to branch master at Debian Med / nibabel
Commits:
22b7fd4a by Étienne Mollier at 2023-01-26T19:20:59+01:00
skip*.patch: fixups
Gbp-Dch: ignore
- - - - -
2 changed files:
- debian/patches/skip-armel-test-nan2zero.patch
- debian/patches/skip-test-removalschedule.patch
Changes:
=====================================
debian/patches/skip-armel-test-nan2zero.patch
=====================================
@@ -17,7 +17,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+ at pytest.mark.skipif(os.uname().machine == 'armv7l',
-+ "It fails on armel for no obvious reason, see #1029593.")
++ reason="fails on armel only, see #1029593.")
def test_a2f_nan2zero_range():
# array_to_file should check if nan can be represented as zero
# This comes about when the writer can't write the value (-intercept /
=====================================
debian/patches/skip-test-removalschedule.patch
=====================================
@@ -18,7 +18,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+ at pytest.mark.skipif('AUTOPKGTEST_TMP' in os.environ.keys(),
-+ "Failing test is not relevant in autopkgtest context.")
++ reason="test failure irrelevant in autopkgtest context.")
@mock.patch(_sched('MODULE'), [('3.0.0', ['nibabel.nifti1'])])
def test_unremoved_module():
with pytest.raises(AssertionError):
@@ -26,7 +26,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+ at pytest.mark.skipif('AUTOPKGTEST_TMP' in os.environ.keys(),
-+ "Failing test is not relevant in autopkgtest context.")
++ reason="test failure irrelevant in autopkgtest context.")
@mock.patch(_sched('OBJECT'), [('3.0.0', [('nibabel.nifti1', 'Nifti1Image')])])
def test_unremoved_object():
with pytest.raises(AssertionError):
@@ -34,7 +34,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+ at pytest.mark.skipif('AUTOPKGTEST_TMP' in os.environ.keys(),
-+ "Failing test is not relevant in autopkgtest context.")
++ reason="test failure irrelevant in autopkgtest context.")
@mock.patch(_sched('ATTRIBUTE'), [('3.0.0', [('nibabel.nifti1', 'Nifti1Image', 'affine')])])
def test_unremoved_attr():
with pytest.raises(AssertionError):
View it on GitLab: https://salsa.debian.org/med-team/nibabel/-/commit/22b7fd4abdeaf01b728ea7967b7ab212ed29a7da
--
View it on GitLab: https://salsa.debian.org/med-team/nibabel/-/commit/22b7fd4abdeaf01b728ea7967b7ab212ed29a7da
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20230126/29a47544/attachment-0001.htm>
More information about the debian-med-commit
mailing list