Однако, когда я пытаюсь его запустить. он показывает мне следующую ошибку.
Код: Выделить всё
❯ nox -R -s unit-3.7 -- -k test_load_table_from_dataframe_w_datatype_mismatch
nox > Running session unit-3.7
nox > Missing interpreters will error by default on CI systems.
nox > Session unit-3.7 skipped: Python interpreter 3.7 not found.
Код: Выделить всё
❯ pyenv versions
system
3.7.10
* 3.7.12 (set by /Users/fki/Documents/git/python-bigquery/.python-version)
3.8.10
3.8.10/envs/airflow-env
3.8.18
airflow-env --> /Users/fki/.pyenv/versions/3.8.10/envs/airflow-env
Код: Выделить всё
❯ nox -R -s unit-3.10 -- -k test_load_table_from_dataframe_w_datatype_mismatch
nox > Running session unit-3.10
nox > Re-using existing virtual environment at .nox/unit-3-10.
nox > py.test --quiet --cov=google/cloud/bigquery --cov=tests/unit --cov-append --cov-config=.coveragerc --cov-report= --cov-fail-under=0 --capture=tee-sys tests/unit -k test_load_table_from_dataframe_w_datatype_mismatch
. [100%]
====================================================================================================== warnings summary ======================================================================================================
.nox/unit-3-10/lib/python3.10/site-packages/_pytest/mark/structures.py:357
/Users/fki/Documents/git/python-bigquery/.nox/unit-3-10/lib/python3.10/site-packages/_pytest/mark/structures.py:357: PytestRemovedIn9Warning: Marks applied to fixtures have no effect
See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
store_mark(func, self.mark)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
1 passed, 2291 deselected, 1 warning in 2.22s
nox > Session unit-3.10 was successful.
Подробнее здесь: https://stackoverflow.com/questions/781 ... nterpreter