Skip to content

Test failure with Pillow 3.4.2 #38

Description

@avalentino

Test failure with Pillow 3.4.2

  ======================================================================
  ERROR: test_pil_image (mpop.tests.test_image.TestEmptyImage)
  Return an empty PIL image.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/tests/test_image.py", line 184, in test_pil_image
      pilimg = self.img.pil_image()
    File "/home/lamby/temp/cdt.20161103212915.XxOo8TNjqe.db.python-mpop/python-mpop-1.3.0/mpop/imageo/image.py", line 408, in pil_image
      return Pil.new(self.mode, (0, 0))
    File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2021, in new
      _check_size(size)
    File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2001, in _check_size
      raise ValueError("Width and Height must be > 0")
  ValueError: Width and Height must be > 0
  
  ----------------------------------------------------------------------
  Ran 63 tests in 0.306s
  
  FAILED (errors=1, skipped=1)

See also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843079

and

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843107

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions