Skip to content

Tests fail: ModuleNotFoundError: No module named 'test_utils.prefixer' #1758

@yurivict

Description

@yurivict
==================================================================================== test session starts ====================================================================================
platform freebsd14 -- Python 3.9.18, pytest-7.4.3, pluggy-1.3.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase(PosixPath('/usr/ports/www/py-google-cloud-bigquery/work-py39/google-cloud-bigquery-3.14.1/.hypothesis/examples'))
rootdir: /usr/ports/www/py-google-cloud-bigquery/work-py39/google-cloud-bigquery-3.14.1
plugins: anyio-4.1.0, time-machine-2.11.0, flaky-3.7.0, aspectlib-2.0.0, hypothesis-6.92.0, xdist-3.5.0, cov-4.1.0, lazy-fixture-0.6.3
collected 0 items / 1 error                                                                                                                                                                 

========================================================================================== ERRORS ===========================================================================================
_______________________________________________________________________________ ERROR collecting test session _______________________________________________________________________________
/usr/local/lib/python3.9/site-packages/_pytest/config/__init__.py:641: in _importconftest
    mod = import_path(conftestpath, mode=importmode, root=rootpath)
/usr/local/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
/usr/local/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/usr/local/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
tests/system/conftest.py:21: in <module>
    import test_utils.prefixer
E   ModuleNotFoundError: No module named 'test_utils.prefixer'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===================================================================================== 1 error in 0.92s ======================================================================================
*** Error code 2

Version: 3.14.1
py39-test-utils-0.1.0
py39-pytest-7.4.3
Python-3.9
FreeBSD 14.0

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.status: will not fixInvalid (untrue/unsound/erroneous), inconsistent with product, not on roadmap.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions