Skip to content

minor test failure on armel -- no warning raised in test_matthews_corrcoef #7572

@yarikoptic

Description

@yarikoptic

I was pleasantly surprised that overall scikit-learn built/tested fine across a wide range of platforms despite problems with test_gpr on good old i386 (#7544): https://buildd.debian.org/status/package.php?p=scikit-learn&suite=unstable
but was amused to see that on armel (only) it fails with

======================================================================
FAIL: sklearn.metrics.tests.test_classification.test_matthews_corrcoef
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/metrics/tests/test_classification.py", line 375, in test_matthews_corrcoef
    matthews_corrcoef, [0, 0, 0, 0], [0, 0, 0, 0])
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/utils/testing.py", line 236, in assert_warns_message
    % func.__name__)
AssertionError: No warning raised when calling matthews_corrcoef

so wondered if I should just skip this test there or patch (submit PR) to skip those specific checks on armel or really someone would like to look deeper why on armel no warning is raised?

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