[med-svn] [tifffile] 01/01: fix autopkgtest

Sascha Steinbiss satta at debian.org
Mon Feb 5 11:37:21 UTC 2018


This is an automated email from the git hooks/post-receive script.

satta pushed a commit to branch master
in repository tifffile.

commit d2c1c9dbcc2812487703e705c81c8f43ceb8691f
Author: Sascha Steinbiss <satta at debian.org>
Date:   Mon Feb 5 12:37:10 2018 +0100

    fix autopkgtest
---
 debian/changelog           | 4 ++++
 debian/tests/python-import | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 74c2afd..52554b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,15 @@
 tifffile (20170929-1) UNRELEASED; urgency=medium
 
+  [ Andreas Tille ]
   * New upstream version
   * Depends: python-enum34, python-concurrent.futures
     Closes: #889623
   * debhelper 11
   * cme fix dpkg-control
 
+  [ Sascha Steinbiss ]
+  * Update autopkgtest with new upstream test example.
+
  -- Andreas Tille <tille at debian.org>  Mon, 05 Feb 2018 09:24:14 +0100
 
 tifffile (20170914-1) unstable; urgency=medium
diff --git a/debian/tests/python-import b/debian/tests/python-import
index c418611..c25a50d 100755
--- a/debian/tests/python-import
+++ b/debian/tests/python-import
@@ -13,7 +13,7 @@ filename = "%s/foo.tiff" % (tmpdir)
 os.system("convert -size 100x100 xc:white %s" % (filename))
 with tifffile.TiffFile(filename) as tif:
     images = tif.asarray()
-    for page in tif:
+    for page in tif.pages:
         for tag in page.tags.values():
             t = tag.name, tag.value
             print(t)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/tifffile.git



More information about the debian-med-commit mailing list