Skip to content

ImportError: 'No module named fix'Β #1897

@SoapGentoo

Description

@SoapGentoo

I'm trying to package pytest 3.0.1 for Gentoo. During the test run, I get the following error:

ImportError while importing test module '/var/tmp/portage/dev-python/pytest-3.0.1/temp/pytest-of-portage/pytest-0/testdir/test_non_relative_path0/tests/test_foos.py'.
Original error message:
'No module named fix'
Make sure your test modules/packages have valid Python names.

For more details, see the Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=592424

I've searched the whole internet, and found no reference to a python module with name fix and function fix_with_param. What am I doing wrong? Which dependency am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin: pytesterrelated to the pytester builtin plugintype: selftestsa problem in the tests of pytest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions