Commit Graph

11115 Commits

Author SHA1 Message Date
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
Alex Clark ☺
dc85bb5cf3 Merge pull request #612 from hugovk/patch-1
Badges: SVG Travis, and coverage in README [ci skip]
2014-04-09 04:01:09 -04:00
hugovk
5a63e77097 Fix alt text [ci skip] 2014-04-09 10:40:16 +03:00
hugovk
0378a89c64 Use SVG Travis CI badge [ci skip] 2014-04-09 10:37:03 +03:00
Hugo
1cb4bf7c15 SVG Travis, and Coverage badge in docs [ci skip]
The SVG badge uses the Shields project for consistency with other projects' badges.
More info:
http://blog.travis-ci.com/2014-03-20-build-status-badges-support-svg/
2014-04-09 10:33:13 +03:00
Hugo
dd6067dbf4 Coverage badge in README [ci skip] 2014-04-09 10:17:20 +03:00
wiredfool
3d352329f4 Use the deferred error to provide a logical exception on access to a closed image 2014-04-08 23:43:13 -07:00
wiredfool
b27ef76468 Rename import_err to something more general 2014-04-08 23:42:34 -07:00
wiredfool
1256fb496e Merge from master 2014-04-08 23:22:40 -07:00
wiredfool
398450a5e4 Fix failing tests, turns out I is different than L 2014-04-08 22:44:24 -07:00
wiredfool
88e235f3f5 sanity check on ascii integers 2014-04-08 22:43:57 -07:00
wiredfool
b5d0cf5e88 Merge pull request #607 from hugovk/master
Fix test coverage
2014-04-08 09:53:04 -07:00
hugovk
9210f88102 Start coverage measurement earlier so tests are properly covered 2014-04-08 17:20:52 +03:00
hugovk
5afdd6cb54 pep8 Tests/tester.py 2014-04-08 17:17:10 +03:00
hugovk
ed00b2e6d2 Read existing data coverage on measurement start, save on stop. Only measure PIL code. 2014-04-08 12:38:30 +03:00
hugovk
3e9cde4412 Use tester.py's built-in coverage and coverage.py's built-in cleanup 2014-04-08 12:28:00 +03:00
hugovk
e4b8cdac4c Update .gitignore from https://github.com/github/gitignore keeping Vim and emacs cruft 2014-04-08 12:22:39 +03:00
wiredfool
213cec00cb consistency 2014-04-07 22:24:48 -07:00
wiredfool
327ea209b8 Write support, fixes #602 2014-04-07 22:23:04 -07:00
wiredfool
2daac27713 Tests for writing hi bit pgm 2014-04-07 22:22:42 -07:00
wiredfool
f5ba642b5e Read support for 16 bit pgm file 2014-04-07 22:12:33 -07:00
wiredfool
864fb95cb1 Read test for 16 bit binary pgm file, #602 2014-04-07 22:10:45 -07:00
Alex Clark
57d4efbeb8 Add history 2014-04-07 19:18:32 -04:00
Alex Clark ☺
e9fe13da15 Merge pull request #605 from wiredfool/dump
Dump
2014-04-07 19:07:40 -04:00
wiredfool
86d5c5c389 Have the tempfile use a suffix with a dot 2014-04-07 16:01:49 -07:00
wiredfool
844ed441de Add the suffix if it's not there, not if it is 2014-04-07 15:59:33 -07:00
Alex Clark
e0b7f86cf6 Add history 2014-04-07 18:37:40 -04:00
Alex Clark ☺
8dc7583773 Merge pull request #604 from nijel/patch-1
Fix variable name
2014-04-07 18:36:26 -04:00
Alex Clark ☺
5dc5d2db66 Merge pull request #594 from hugovk/master
Add coverage reports for Python code on Travis CI
2014-04-07 18:35:22 -04:00
Michal Čihař
07650be832 Fix variable name
Wrong variable name was used for transparency manipulations.
2014-04-07 17:36:36 +02:00
Terseus
92dd58c014 Added descriptive errors to imagedraw tests 2014-04-06 14:03:03 +02:00
wiredfool
71ebbe492d another pass on the docs 2014-04-04 17:05:42 -07:00
wiredfool
3a484bab09 basic readme + pointer 2014-04-04 16:44:56 -07:00
wiredfool
251749b110 python/multiprocessing build process + clean/dist options 2014-04-04 16:29:58 -07:00
Alex Clark ☺
665a6360f7 Merge pull request #601 from wiredfool/gs-test
Fix failing test when ghostscript is not installed.
2014-04-04 18:30:19 -04:00
hugovk
5e0d2a3004 Add pep8 and pyflakes reports to Travis CI 2014-04-05 01:25:55 +03:00
wiredfool
2f7bbffb5b waiting to read stdout was blocking when the buffer filled 2014-04-04 15:18:14 -07:00
wiredfool
4e6ea0fc42 test runner 2014-04-04 14:57:18 -07:00
wiredfool
942a30daf9 Merge branch 'gs-test' into winbuild 2014-04-04 13:41:01 -07:00
wiredfool
9c29819941 Merge branch 'master' into winbuild 2014-04-04 13:40:32 -07:00
wiredfool
82d7524add made has_ghostscript a method, using it from test_imagefile 2014-04-04 13:33:54 -07:00