Skip to content

test failure: matplotlib.tests.test_mathtext.mathfont_stix_14_test.test #939

@jdh2358

Description

@jdh2358

I'm getting one test failure on v1.1.x (clean font cache, clean build):

FAIL: matplotlib.tests.test_mathtext.mathfont_stix_14_test.test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/msierig/dev/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 36, in failer
    result = f(*args, **kwargs)
  File "/home/msierig/dev/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 140, in do_test
    '(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close: /home/msierig/result_images/test_mathtext/mathfont_stix_14.png vs. /home/msierig/result_images/test_mathtext/expected-mathfont_stix_14.png (RMS 3377.889)

----------------------------------------------------------------------
Ran 1068 tests in 430.397s

I thought maybe the recent ttconv commit could be playing a role here so i tested on f929f74 and still see it, so 70e9c33 does not appear to be implicated. It looks like a small pixel shift in some of the characters. Anyone else seeing this?

Also, I was trying to run the single test semantics on this, and tried a few variants of:

msierig@pinchiepie:matplotlib.matplotlib> python tests.py  matplotlib.tests.test_mathtext:mathfont_stix_14_test.test
E
======================================================================
ERROR: Failure: ValueError (No such test mathfont_stix_14_test.test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/failure.py", line 39, in runTest
    raise self.exc_class(self.exc_val)
ValueError: No such test mathfont_stix_14_test.test

----------------------------------------------------------------------
Ran 1 test in 0.002s

What is the magic incantation for running this as a single test?

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