question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pickle test on constants all set to xfail

See original GitHub issue

Looking 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:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pllimcommented, Aug 20, 2019

Thanks for looking into this, @stargaser !

1reaction
stargasercommented, Aug 19, 2019

cc @Juanlu001 who filed #9139

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found