镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

ERROR: TestImageFont.test_textsize_equal #1202

Closed

Description

@toabctl

Running test testsuite during building 2.7.0 on SLE11SP3 failed with the following error:

[   25s] ======================================================================
[   25s] FAIL: TestImageFont.test_textsize_equal
[   25s] ----------------------------------------------------------------------
[   25s] Traceback (most recent call last):
[   25s]   File "/usr/src/packages/BUILD/Pillow-2.7.0/Tests/test_imagefont.py", line 111, in test_textsize_equal
[   25s]     self.assert_image_equal(im, target_img)
[   25s]   File "/usr/src/packages/BUILD/Pillow-2.7.0/Tests/helper.py", line 81, in assert_image_equal
[   25s]     self.fail(msg or "got different content")
[   25s] AssertionError: got different content
[   25s] 
[   25s] ----------------------------------------------------------------------
[   25s] Ran 555 tests in 4.127s
[   25s] 
[   25s] FAILED (SKIP=95, failures=1)
[   25s] error: Bad exit status from /var/tmp/rpm-tmp.53836 (%check)

Activity

  1. toabctl commented on Apr 21, 2015

    @toabctl
    ContributorAuthor

    I think assert_image_similar() should be used here.

  2. radarhere commented on Apr 21, 2015

    @radarhere
    Member

    Just a note for others reading this that the test was added in #784.

    If you find that assert_image_similar does pass the tests, then the fastest way to start this change would be to create a PR.

  3. radarhere commented on Apr 21, 2015

    @radarhere
    Member

    You may also be interested in updating the 'Platform Support' section of Installation.rst.

  4. hugovk commented on Apr 29, 2015

    @hugovk
    Member
  5. toabctl commented on Apr 29, 2015

    @toabctl
    ContributorAuthor

    PR is here: #1210

  6. hugovk commented on Apr 29, 2015

    @hugovk
    Member

    Fixed by #1210.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions