Skip to content

test failure: No module named 'test.backend_test_util' #343

@0-wiz-0

Description

@0-wiz-0

When I run using the pypi distfile, I get:

============================================================================== ERRORS ===============================================================================
______________________________________________________________ ERROR collecting test/test_js_client.py ______________________________________________________________
ImportError while importing test module '/scratch/net/py-stone/work/stone-3.3.8/test/test_js_client.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/pkg/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test/test_js_client.py:7: in <module>
    from test.backend_test_util import _mock_output
E   ModuleNotFoundError: No module named 'test.backend_test_util'
______________________________________________________________ ERROR collecting test/test_tsd_types.py ______________________________________________________________
ImportError while importing test module '/scratch/net/py-stone/work/stone-3.3.8/test/test_tsd_types.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/pkg/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test/test_tsd_types.py:19: in <module>
    from test.backend_test_util import _mock_output
E   ModuleNotFoundError: No module named 'test.backend_test_util'
====================================================================== short test summary info ======================================================================
ERROR test/test_js_client.py
ERROR test/test_tsd_types.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I only find two matches for the string:

stone-3.3.8/test/test_js_client.py:from test.backend_test_util import _mock_output
stone-3.3.8/test/test_tsd_types.py:from test.backend_test_util import _mock_output

I'm not sure where this should be coming from, did I miss installing a dependency?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions