Commit Graph

51 Commits

Author SHA1 Message Date
Hugo
d524664215 Re-enable test for PyPy, we're long past 5.3.1 2018-05-17 22:18:33 +03:00
Andrew Murray
c13ccf13a1 Added missing whitespace 2018-03-06 19:53:07 +11:00
hugovk
9344bd20dd Move test_no_resource_warning_for_numpy_array to test_numpy so it can be skipped easily 2017-09-23 22:39:10 +03:00
Andrew Murray
9e843a2d9b Changed format of lambda calls 2017-09-01 21:05:40 +10:00
wiredfool
300dfcf4a4 Test/fix for issue #2044 2017-08-16 11:46:27 -07:00
Alexander
349e300d7b use getchannel where is possible 2017-08-09 02:36:07 +03:00
hugovk
310105625c Failing test case for #2259 2017-02-22 08:16:17 +02:00
Hugo
53e5702557 Update http to https 2017-02-14 11:27:02 +02:00
Eric Soroos
94cc72a2ba disable tests broken on old system versions of numpy/scipy 2017-01-20 11:35:49 -08:00
Andrew Murray
4ed31e8ef7 Updated comments to use print as a function 2016-11-26 11:02:44 +11:00
Andrew Murray
72d5218080 Flake8 fixes 2016-09-03 12:17:22 +10:00
Hugo
ad9fddbcbc Remove duplicate import 2016-08-29 12:57:12 +03:00
Eric Soroos
5b0a1a1c0d Moved tiff save / load of uint16 to test_file_tiff.
Saving a numpy generated image as a tiff will save in native endian, and comparing it to a
little endian tiff will fail on bigendian machines.
2016-08-25 12:49:40 -07:00
wiredfool
b77adf4692 Merge pull request #2090 from wiredfool/pr_2083
Skip failing numpy tests on Pypy <= 5.3.1
2016-08-25 11:57:57 +01:00
wiredfool
30abb42c27 More specific version of pr #2083 2016-08-25 03:22:20 -07:00
Matthew Brett
824a0c232c BF: fix conversion of bit images to numpy arrays
Numpy cannot form arrays from bits.  To convert bit images to numpy,
convert bits to bytes.

From suggestion by Alexander Karpinsky, with thanks.

Fixes gh-350.
2016-08-17 18:47:14 -07:00
Arjen Nienhuis
67eb7a3dc2 Ignore PyPy numpy errors 2016-08-17 23:25:52 +02:00
hugovk
2c4a1209f4 flake8 2016-08-04 09:40:12 +03:00
homm
1ba4e9e5ba remove end of file banner from all files 2016-07-10 14:11:28 +03:00
wiredfool
9e1b4aba9a These modes upconvert to 32bit I 2016-06-25 14:33:26 +01:00
Bryant Mairs
4f2836e218 Move constant to module level. 2016-06-25 12:20:37 +01:00
Bryant Mairs
7d5856bdf7 Corrects fromarray() datatype mapping for integer datatypes.
Currently failing for int16LE as of this commit.
2016-06-25 12:20:37 +01:00
Bryant Mairs
7fb24e8af0 Add test for reading and writing uint16 TIFFs. 2016-06-25 12:20:37 +01:00
Bryant Mairs
f51e90bf33 Create named constant for repeated values. 2016-06-25 12:19:12 +01:00
Bryant Mairs
51247fb7f0 Test all applicable numpy datatypes for Image.fromarray() 2016-06-25 12:19:12 +01:00
wiredfool
6f92a5adc0 Tests for LA mode looping through numpy 2016-04-29 21:03:24 +01:00
wiredfool
436daee5e0 Merge pull request #1591 from radarhere/health
Health fixes
2015-12-14 21:00:09 +00:00
Andrew Murray
1c99b39239 Fixed redefined built-in 2015-12-10 21:34:02 +11:00
cartisan
8b76f557ce Enabled conversion to numpy array for HSV images. #1559 2015-12-07 17:40:42 +00:00
Andrew Murray
03eadad5ef Removed shortlink 2015-11-11 23:25:55 +11:00
hugovk
0e23d74173 Make tests more robust re: https://github.com/python-pillow/Pillow/issues/947#issuecomment-61641247 2015-10-05 10:27:23 +03:00
Andrew Murray
4e2de9d9ed Added missing future print imports and removed unnecessary imports 2015-05-23 20:28:41 +10:00
Andrew Murray
d1c182cadc Various Flake8 fixes 2015-04-24 09:26:52 +10:00
wiredfool
a105cd7edb Test for issue #1008 2014-11-13 15:33:37 -08:00
hugovk
8dad2b0c63 Replace some lena() with hopper(), and temporarily disable fail-fast so we can see all failures 2014-09-05 13:03:56 +03:00
hugovk
cf04a9a0d2 Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
hugovk
3ec505958e Convert old tests to use unittest 2014-06-10 12:10:47 +03:00
hugovk
c9a4272af6 Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
Alex Clark ☺
ae7edfa58d Merge pull request #441 from wiredfool/lut
Image.point fixes for numpy.array and docs
2013-12-28 06:08:08 -08:00
wiredfool
d05b5d9060 Restore numpy.array as valid lookup tables 2013-12-10 15:47:26 -08:00
wiredfool
0ffc1a848a Renamed test tiff files to 16bit*. They are 12bit data in a 16bit format 2013-11-19 14:48:01 -08:00
Eric Soroos
366f9a5f35 uint16 varies from platform to platform, <u2 is spefific 2013-10-19 03:30:02 +00:00
wiredfool
05d0aa65f1 python2 fixes. sigh. 2013-10-01 00:05:55 +00:00
wiredfool
2855449414 Py3k fixes 2013-10-01 00:01:35 +00:00
wiredfool
ca35a9d65d tests for img -> numpy.array 2013-09-30 14:10:58 -07:00
wiredfool
753a3266e8 resolving shortened url 2013-09-30 10:09:35 -07:00
wiredfool
660b1a98aa test for 16bit tiffs, issue #273 2013-09-30 10:09:35 -07:00
Matt Davis
c3d6b05d10 Adding a test of fromarray that exercises the if strides is not None block. 2013-05-21 21:55:58 -04:00
Sandro Mani
e3f8395293 Fix test hardcoded for little endian 2013-05-07 23:55:48 +02:00
Christoph Gohlke
054f1ef870 Remove test that fails when numpy.int is 64 bit
Fixes issues #75
2013-03-14 17:14:44 -07:00