We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure you run commands with -v flag before pasting the output.
-v
pdm run test tests/cli/test_run.py
================================================================================================================ test session starts ================================================================================================================ platform darwin -- Python 3.11.4, pytest-7.3.1, pluggy-1.0.0 rootdir: /Users/leemars/Workspace/pdm configfile: pyproject.toml plugins: mock-3.10.0, cov-4.1.0, rerunfailures-11.1.2, xdist-3.3.1, httpserver-1.0.6 collected 55 items tests/cli/test_run.py ......................................................F [100%] ===================================================================================================================== FAILURES ====================================================================================================================== ______________________________________________________________________________________________________ test_empty_positional_args_display_help ______________________________________________________________________________________________________ project = <Project '/private/var/folders/g2/h_68tc5j77zf7tsmhsrff6hw0000gn/T/pytest-of-leemars/pytest-47/test_empty_positional_args_dis0'>, pdm = <function pdm.<locals>.caller at 0x107ce5080> def test_empty_positional_args_display_help(project, pdm): result = pdm([], obj=project) > assert result.exit_code == 0 E AssertionError: assert 2 == 0 E + where 2 = RunResult(exit_code=2, stdout='', stderr='Usage: pdm [-h] [-V] [-c CONFIG] [-v] [-I] [--pep582 [SHELL]] __root__ ...\npdm: error: Script unknown: tests/cli/test_run.py\n', exception=None).exit_code tests/cli/test_run.py:821: AssertionError --------------------------------------------------------------------------------------------------------------- Captured stdout setup --------------------------------------------------------------------------------------------------------------- Changes are written to pyproject.toml. ============================================================================================================== short test summary info ============================================================================================================== FAILED tests/cli/test_run.py::test_empty_positional_args_display_help - AssertionError: assert 2 == 0 + where 2 = RunResult(exit_code=2, stdout='', stderr='Usage: pdm [-h] [-V] [-c CONFIG] [-v] [-I] [--pep582 [SHELL]] __root__ ...\npdm: error: Script unknown: tests/cli/test_run.py\n', exception=None).exit_code =========================================================================================================== 1 failed, 54 passed in 6.10s ============================================================================================================
Tests should be passed.
PDM version: 2.8.0a3.dev6+gb5841072.editable Python Interpreter: /Users/leemars/Workspace/pdm/.venv/bin/python (3.11) Project Root: /Users/leemars/Workspace/pdm Local Packages: { "implementation_name": "cpython", "implementation_version": "3.11.4", "os_name": "posix", "platform_machine": "arm64", "platform_release": "22.5.0", "platform_system": "Darwin", "platform_version": "Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000", "python_full_version": "3.11.4", "platform_python_implementation": "CPython", "python_version": "3.11", "sys_platform": "darwin" }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
pdm run test tests/cli/test_run.py
Actual behavior
Expected behavior
Tests should be passed.
Environment Information
The text was updated successfully, but these errors were encountered: