-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
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
5.13.0: pytest is failing with error in tests/test_typing.py #889
Comments
kloczek
changed the title
5.13.0: pytest is failing in tests/test_typing.py
5.13.0: pytest is failing with error in tests/test_typing.py
Nov 6, 2023
After add + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-traitlets-5.13.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-traitlets-5.13.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network' --ignore tests/test_typing.py
============================= test session starts ==============================
platform linux -- Python 3.8.18, pytest-7.4.3, pluggy-1.3.0
rootdir: /home/tkloczko/rpmbuild/BUILD/traitlets-5.13.0
configfile: pyproject.toml
testpaths: tests, examples
plugins: mock-3.12.0
collected 569 items
tests/_warnings.py .s [ 0%]
tests/test_traitlets.py ................................................ [ 8%]
........................................................................ [ 21%]
........................................................................ [ 34%]
........................................................................ [ 46%]
........................................................................ [ 59%]
................................................. [ 68%]
tests/test_traitlets_docstring.py . [ 68%]
tests/test_traitlets_enum.py ........................ [ 72%]
tests/config/test_application.py ....................................... [ 79%]
...... [ 80%]
tests/config/test_argcomplete.py ...... [ 81%]
tests/config/test_configurable.py ................................... [ 87%]
tests/config/test_loader.py ............................................ [ 95%]
.................. [ 98%]
tests/utils/test_bunch.py .. [ 98%]
tests/utils/test_decorators.py ..... [ 99%]
tests/utils/test_importstring.py .. [100%]
=============================== warnings summary ===============================
tests/_warnings.py::tests._warnings.all_warnings
<doctest tests._warnings.all_warnings[1]>:2: RuntimeWarning: bar
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================= slowest 10 durations =============================
0.26s call tests/config/test_application.py::test_show_config_cli
0.25s call tests/config/test_application.py::test_help_all_output
0.24s call tests/config/test_application.py::test_help_output
0.23s call tests/config/test_application.py::test_show_config_json_cli
0.04s call tests/config/test_argcomplete.py::TestArgcomplete::test_complete_subcommands
0.03s call tests/config/test_argcomplete.py::TestArgcomplete::test_complete_custom_completers
0.02s call tests/test_traitlets.py::TestTraitType::test_deprecated_metadata_access
0.01s call tests/config/test_application.py::test_deep_alias
0.01s call tests/config/test_argcomplete.py::TestArgcomplete::test_complete_simple_app
0.01s call tests/test_traitlets.py::TestTraitType::test_deprecated_method_warnings
=========================== short test summary info ============================
SKIPPED [1] ../../../../../usr/lib/python3.8/site-packages/_pytest/doctest.py:456: all tests skipped by +SKIP option
================== 568 passed, 1 skipped, 1 warning in 2.74s =================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulescut off from access to the public network
(pytest is executed with-m "not network"
)Here is pytest output:
Here is list of installed modules in build env
The text was updated successfully, but these errors were encountered: