Giter VIP home page Giter VIP logo

Comments (1)

kloczek avatar kloczek commented on June 20, 2024

After add tests/test_typing.py to ignore list pytest is OK in rest of the units

+ 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 ===================

from traitlets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.