[Python] PluggyTeardownRaisedWarning raised while executing pytest -s --cov=fnd (executing...

Discussão em 'Python' iniciado por Stack, Março 25, 2025.

  1. Stack

    Stack Membro Participativo


    INTERNALERROR> mox3.mox.UnexpectedMethodCallError: Unexpected method call write('/home/nm/fnd/pyv1/lib64/python3.9/site-packages/_pytest/main.py:337: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.\nPlugin: _cov, Hook: pytest_runtestloop\nUnexpectedMethodCallError: Unexpected method call write('/home/nm/fnd/pyv1/lib64/python3.9/site-packages/coverage/report_core.py:116: CoverageWarning: Couldn\'t parse \'/home/nm/fnd/builds/build-pytest_new-dbg-clang-shlib/fnd-python-tree/nutanix_fnd.egg/fnd/imaging_step_configuration_update.py\': Unexpected method call write(\'/home/nm/fnd/builds/build-pytest_new-dbg-clang-shlib/fnd-python-tree/nutanix_fnd.egg/fnd/imaging_step_configuration_update.py:204: SyntaxWarning: "is" with a literal. Did you mean "=="?\\n\') -> None (couldnt-parse)\n coverage._warn(msg, slug="couldnt-parse")\n') -> None\nFor more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning\n config.hook.pytest_runtestloop(session=session)\n') -> None
    ​

    Continue reading...

Compartilhe esta Página