Pickle test on constants all set to xfail
See original GitHub issueLooking over #5694, I noticed that constants.tests.test_pickle
runs tests that are all set to fail. This is mostly a reminder to understand why this is, and whether something needs to be changed.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Constants cannot be pickled · Issue #9139 · astropy ... - GitHub
All I can say for right now is that #5719 notes that all the pickle tests on constants are set to xfail and...
Read more >How to use skip and xfail to deal with tests that cannot succeed
If you want to skip all test functions of a module, you may use the pytestmark global: # test_module.py pytestmark = pytest.mark.
Read more >pytest Documentation - Read the Docs
pytest discovers all tests following its Conventions for Python test ... xfail - produce an “expected failure” outcome if a certain ...
Read more >How to use skip and xfail to deal with tests that cannot succeed
Skip all test functions of a class or module ... pytestmark = pytest.mark.skip("all tests still WIP") ... XFail: mark test functions as expected...
Read more >How do we xfail a test case for just one environment, when it ...
You can introduce your own marker for that purpose. Example: test case. import pytest @pytest.mark.myxfail(envs=["my_env_1", "my_env_18"], ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for looking into this, @stargaser !
cc @Juanlu001 who filed #9139