Commit Graph

3067 Commits

Author SHA1 Message Date
hugovk
8794c46318 For pickling, test with Image's __eq__. Everything else can use the old assert_image_equal. 2014-04-26 20:05:02 +03:00
hugovk
2a6f2c5442 Add __eq__ and __ne__ to Image to be able to test image equality when pickling. Pickle more data. 2014-04-26 19:43:53 +03:00
hugovk
6c938b784b Remove duplication by calling __init__() (Suggested by @ulope: 6802c12f89 (commitcomment-6125853)) 2014-04-26 17:18:29 +03:00
hugovk
6802c12f89 Initialise object when unpickling 2014-04-25 09:01:16 +03:00
hugovk
e4185694a2 P3 will skip explicit cPickle tests 2014-04-22 09:30:15 +03:00
hugovk
a3edb45f08 pep8 2014-04-22 09:23:34 +03:00
hugovk
adfbe8323a Tests and partial implementation of pickling (#629) 2014-04-22 08:54:16 +03:00
wiredfool
f6262505cd Merge pull request #633 from hugovk/patch-1
Run slow pypy first
2014-04-18 11:59:58 -07:00
Hugo
b917623513 Run slow pypy first
It's always the slowest and we should give it a head start so we're not waiting for it to finish at the end. It means we're making the most use of our parallel job-runners for the quicker jobs.

See also #632.
2014-04-18 15:11:05 +03:00
wiredfool
8c5ed8a873 Update CHANGES.rst [ci skip] 2014-04-17 22:22:16 -07:00
wiredfool
5ca5652d0b Merge pull request #551 from wiredfool/with
Image.close, Context manager support
2014-04-17 22:20:30 -07:00
wiredfool
471cecb523 tests for close and context manager 2014-04-17 22:01:55 -07:00
wiredfool
8c6a4c0299 Docs changes for close/context manager 2014-04-17 21:53:49 -07:00
wiredfool
b182e239bb Updated Changes.rst [ci skip] 2014-04-17 12:23:19 -07:00
wiredfool
ca36b6cd36 Merge pull request #606 from wiredfool/pgm
16 bit Read/Write PGM support.
2014-04-17 12:22:18 -07:00
wiredfool
a54754db1f Update CHANGES.rst 2014-04-17 12:20:20 -07:00
wiredfool
1945fd6cb4 Merge pull request #618 from hugovk/master
Add version 0.30 of OleFileIO (2014-02-04)
2014-04-17 12:19:03 -07:00
wiredfool
6bf95f003b Update CHANGES.rst 2014-04-17 12:12:29 -07:00
wiredfool
c381b6dbfa Merge pull request #628 from wiredfool/Hijackal-patch-1
Tests for #614
2014-04-17 12:11:11 -07:00
wiredfool
0f2e08dfe0 Merge pull request #614 from Hijackal/patch-1
Add specific 32-bit float tiff format
2014-04-17 12:10:39 -07:00
Dmitry Selitsky
d5b09509be logic typo fix 2014-04-16 16:07:43 +03:00
wiredfool
aba195d35e Tests for #614 2014-04-14 06:13:57 -07:00
hugovk
329fd00d3f Test j2k 2014-04-14 13:49:29 +03:00
wiredfool
994c9a7e56 Merge pull request #621 from e98cuenc/fixlcmsdoc
Update installation instructions of little cms2 in Mac
2014-04-14 06:18:34 -04:00
wiredfool
0b402df678 Merge pull request #620 from myint/master
Fix spelling errors in documentation
2014-04-14 06:17:10 -04:00
wiredfool
189c40dc9e Merge branch 'patch-1' of https://github.com/Hijackal/Pillow into Hijackal-patch-1 2014-04-14 03:15:38 -07:00
hugovk
a97e5039d8 Remove unused _binary import (plus flake8) 2014-04-14 12:51:12 +03:00
hugovk
5cd454bde2 Fix docstring printing from __main__, and pyflakes and some pep8 2014-04-14 12:30:32 +03:00
hugovk
7ba5962512 Fix typo and update test 2014-04-14 00:27:08 +03:00
hugovk
6ff77414b3 Test some debug functions. No asserts, just check they run ok. 2014-04-14 00:05:31 +03:00
hugovk
949e87e55d Remove 'failing' test_debug() 2014-04-13 23:28:41 +03:00
hugovk
f40cf7870f More testing 2014-04-13 23:16:01 +03:00
Joaquín Cuenca Abela
deecfdabcd Update installation instructions of little cms2 in Mac 2014-04-13 00:28:26 +02:00
Steven Myint
d5dee90f41 Fix spelling errors in documentation
https://pillow.readthedocs.org/en/latest/about.html
2014-04-12 07:08:50 -07:00
eliempje
2cd6d416b2 Bugfix: EPS thumbnail failed
EPS thumbnail failed to resize correctly due to incorrect resolution argument (should be a function of the image size and bounding box). This is fixed in this commit.
2014-04-12 13:38:39 +02:00
Hugo
be201bf4f3 Undo cleanup reversal
"Just pointing out that this bit is actually reversing a recent cleanup in Pillow. See commit 923018d and PR #474. I guess that cleanup was merged into Pillow after I did my merge from Pillow to PL’s fork."
https://github.com/python-imaging/Pillow/pull/618#discussion_r11559186
2014-04-12 12:43:24 +03:00
hugovk
bfc05b7a8c Handle bytes in test for Py2 and 3 2014-04-11 15:02:42 +03:00
hugovk
2271ee6f65 Add some simple tests for OleFileIO.py 2014-04-11 14:53:33 +03:00
hugovk
43ec928d33 version 0.30 2014-02-04 2014-04-11 14:03:32 +03:00
hijackal
7f164d641f Test image: TIFF for OPEN_INFO = {(II, 0, 3, 1, (32,), ()): ("F", "F;32F")} 2014-04-11 11:39:05 +02:00
Alex Clark ☺
6cd0e1757b Merge pull request #615 from hugovk/master
Test runner: print out list of failures at end
2014-04-11 04:53:50 -04:00
hugovk
9c6b07d21b Remove temporary forced failure 2014-04-11 10:59:58 +03:00
hugovk
cf6daf03fe Use correct brackets 2014-04-11 10:47:37 +03:00
hugovk
267cdf523e Print out lists of failed tests (and temporarily force a failure for testing) 2014-04-11 10:28:06 +03:00
Hijackal
029a4a5079 Add specific 32-bit float tiff format
We regularly use this format to store 32bit floats and I would like to see it handled by clean Pillow installations without having to add it on every system I use.
2014-04-10 15:52:53 +02:00
Terseus
113b8c2a76 Removed non-ASCII character from messages 2014-04-09 20:06:58 +02:00
Terseus
b987d90568 Added tests for lines with 1px slope
This tests are designed to guarantee that the wide lines behave exactly
like normal lines drawn with the Bresenham's algorithm.
This tests are somewhat subjective since this is non-defined behavior,
but I think that mimic the Bresenham's algorithm is reliable enough.

Currently the horizontal version of this test **fail**.
2014-04-09 19:34:50 +02:00
Terseus
4b7236f460 Added tests of hor/ver lines 101px wide
These tests should guarantee that the proportion of the width is
maintained with a margin of error < 1%.
2014-04-09 19:34:50 +02:00
Terseus
8228caf14d Added some oblique 45º lines tests
Only the oblique 3 pixels wide lines are defined:
* The oblique 2 pixels wide lines are somewhat hard to define.
* To define the oblique lines wider than 3 pixels we neet to define
  first how the oblique lines should expand their width (realistic or
  exact).
2014-04-09 19:33:46 +02:00
Alex Clark ☺
e70b5ff9b2 Merge pull request #613 from hugovk/patch-2
Badges: SVG Travis, and Coverage in docs [ci skip]
2014-04-09 04:01:35 -04:00