Commit Graph

19 Commits

Author SHA1 Message Date
Stefan van der Walt 2b1dde202f freeimage: Correctly handle saving uint16 images (closes gh-1101) 2014-08-15 15:22:51 +02:00
blink1073 5677dafe41 Move away from random.random in favor of random.rand 2014-07-19 18:18:23 -05:00
blink1073 5ef3f95d71 Add random seeds to tests per #1044 2014-07-05 12:49:42 -05:00
Kevin Murray 83d0717986 [test_freeimage] Allow ValueError to be raised
With the truncated image, sometimes ValueError is raised. This allows
either RuntimeError (i.e. libfreeimage error) or ValueError to be
raised.
2014-06-30 18:47:31 +10:00
Kevin Murray 7d9f9c46d9 [test_freeimage.py] remove extraneous statements 2014-06-30 14:45:51 +10:00
Kevin Murray d69cdb951b [freeimage tests] Add a test w/ truncated image
This tests tests the fix in the previous commit b9a7445, covering the
issue noted in issue #1037.
2014-06-30 14:45:51 +10:00
JDWarner 54d7031f42 FIX: New versions of FreeImage report software as "I", not "ImageMagick ..." 2013-11-20 12:05:46 -06:00
Zach Pincus 8b6f489bab Add multipage TIFF unittest 2013-04-18 11:08:12 -04:00
Matt McCormick db4cc04a90 BUG: Fix tests when FreeImage is not installed.
The plugin loader tries plugins but only catches ImportError and
RuntimeError.  The FreeImage plugin was throwing OSError.  Tests
were failing when FreeImage was not installed.  It now throws a
RuntimeError.
2012-07-20 15:46:58 -04:00
Andreas Mueller ee0fd867da COSMIT fix ugly line breaks. 2012-06-29 11:27:23 +02:00
Andreas Mueller f7b3d8062c COSMIT pep8 2012-06-29 11:27:23 +02:00
Stefan van der Walt 0a30a2046e ENH: Allow resetting the plugin state. 2012-06-24 17:14:38 -07:00
Stefan van der Walt 52f35313a7 BUG: Fix plugin import on systems without PIL or FreeImage. 2012-05-07 14:06:25 -07:00
Stefan van der Walt 9c13bab887 BUG: Ensure that the appropriate I/O plugin is used in the test suite. 2012-05-07 13:48:56 -07:00
cgohlke 1f7f234264 Fix invalid Python 3 syntax 2012-02-25 20:00:39 -08:00
Zach Pincus 026fae0e97 BUG: Fix tests 2012-02-21 19:17:55 -05:00
Zach Pincus b80ef2a660 Fix copy/paste error 2012-02-21 18:17:34 -05:00
Zach Pincus e2d4261c6d ENH: Add tifffile tests and improve freeimage tests 2012-02-21 18:14:59 -05:00
Stefan van der Walt 5d276146ee BUG: Fix FreeImage tests. 2012-02-10 15:34:26 -08:00