Ole Streicher pushed to branch master at Debian Python Team / DPMT / tifffile
Commits: 0ea7416d by Ole Streicher at 2020-05-17T11:14:03+02:00 Add gitlab-ci file - - - - - 2 changed files: - + debian/gitlab-ci.yml - debian/patches/Disable-tests-that-require-remote-files.patch Changes: ===================================== debian/gitlab-ci.yml ===================================== @@ -0,0 +1,8 @@ + +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml + +variables: + RELEASE: 'unstable' + \ No newline at end of file ===================================== debian/patches/Disable-tests-that-require-remote-files.patch ===================================== @@ -3,13 +3,22 @@ Date: Sat, 16 May 2020 18:10:59 +0200 Subject: Disable tests that require remote files --- - tests/test_tifffile.py | 2 ++ - 1 file changed, 2 insertions(+) + tests/test_tifffile.py | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_tifffile.py b/tests/test_tifffile.py -index 1e2a11f..91b9b38 100644 +index 1e2a11f..fe37ef6 100644 --- a/tests/test_tifffile.py +++ b/tests/test_tifffile.py +@@ -156,7 +156,7 @@ from tifffile.tifffile import ( + ) + + # skip certain tests +-SKIP_HUGE = False ++SKIP_HUGE = True + SKIP_EXTENDED = False + SKIP_ROUNDTRIPS = False + SKIP_PUBLIC = False # skip public files @@ -370,6 +370,7 @@ def test_issue_legacy_kwargs(): pass @@ -18,6 +27,15 @@ index 1e2a11f..91b9b38 100644 def test_issue_infinite_loop(): """Test infinite loop reading more than two tags of same code in IFD.""" # Reported by D. Hughes on 2019.7.26 +@@ -1546,7 +1547,7 @@ def test_func_pformat_xml(): + '<?xml version="1.0" encoding="ISO-8859-1" ?> <Dimap_Document') + + assert pformat(value, height=8, width=60) == ( +- """<?xml version='1.0' encoding='ISO-8859-1'?> ++ """<?xml version="1.0" encoding="ISO-8859-1" ?> + <Dimap_Document name="band2.dim"> + <Metadata_Id> + <METADATA_FORMAT version="2.12.1">DIMAP</METADATA_FORMAT> @@ -1744,6 +1745,7 @@ def assert_filehandle(fh, offset=0): numpy.arange(255, dtype='uint8')) View it on GitLab: https://salsa.debian.org/python-team/modules/tifffile/-/commit/0ea7416d187c326c01125d069bc9460920d4986b -- View it on GitLab: https://salsa.debian.org/python-team/modules/tifffile/-/commit/0ea7416d187c326c01125d069bc9460920d4986b You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
