Title: 21.0.0: pytest baed test suite is failing · Issue #163 · python-hyper/hyperlink · GitHub
Open Graph Title: 21.0.0: pytest baed test suite is failing · Issue #163 · python-hyper/hyperlink
X Title: 21.0.0: pytest baed test suite is failing · Issue #163 · python-hyper/hyperlink
Description: + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-hyperlink-21.0.0-3.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-hyperlink-21.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages + /usr/bin/pyt...
Open Graph Description: + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-hyperlink-21.0.0-3.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-hyperlink-21.0.0-3.fc35.x86_64/usr/li...
X Description: + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-hyperlink-21.0.0-3.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-hyperlink-21.0.0-3.fc35.x86_64/usr/li...
Opengraph URL: https://github.com/python-hyper/hyperlink/issues/163
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"21.0.0: pytest baed test suite is failing","articleBody":"```console\r\n+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-hyperlink-21.0.0-3.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-hyperlink-21.0.0-3.fc35.x86_64/usr/lib/python3.8/site-packages\r\n+ /usr/bin/python3 -Bm pytest -ra\r\n=========================================================================== test session starts ============================================================================\r\nplatform linux -- Python 3.8.9, pytest-6.2.3, py-1.10.0, pluggy-0.13.1\r\nrootdir: /home/tkloczko/rpmbuild/BUILD/hyperlink-21.0.0, configfile: pytest.ini\r\nplugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, asyncio-0.14.0, expect-1.1.0, cov-2.11.1, mock-3.5.1, httpbin-1.0.0, xdist-2.2.1, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, pyfakefs-4.4.0, freezegun-0.4.2, flaky-3.7.0, cases-3.4.6, hypothesis-6.10.0\r\ncollected 113 items\r\n\r\nsrc/hyperlink/test/test_common.py ...... [ 5%]\r\nsrc/hyperlink/test/test_decoded_url.py ............ [ 15%]\r\nsrc/hyperlink/test/test_hypothesis.py ......F....... [ 28%]\r\nsrc/hyperlink/test/test_parse.py . [ 29%]\r\nsrc/hyperlink/test/test_scheme_registration.py ....... [ 35%]\r\nsrc/hyperlink/test/test_url.py ......................................................................... [100%]\r\n\r\n================================================================================= FAILURES =================================================================================\r\n___________________________________________________________ TestHypothesisStrategies.test_hostnames_ascii_nolead ___________________________________________________________\r\n\r\nself = \u003chyperlink.test.test_hypothesis.TestHypothesisStrategies testMethod=test_hostnames_ascii_nolead>\r\n\r\n @given(hostnames(allow_leading_digit=False, allow_idn=False))\r\n> def test_hostnames_ascii_nolead(self, hostname):\r\nE hypothesis.errors.FailedHealthCheck: It looks like your strategy is filtering out a lot of data. Health check found 50 filtered examples but only 8 good ones. This will make your tests much slower, and also will probably distort the data generation quite a lot. You should adapt your strategy to filter less. This can also be caused by a low max_leaves parameter in recursive() calls\r\nE See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.filter_too_much to the suppress_health_check settings for this test.\r\n\r\nsrc/hyperlink/test/test_hypothesis.py:177: FailedHealthCheck\r\n-------------------------------------------------------------------------------- Hypothesis --------------------------------------------------------------------------------\r\nYou can add @seed(316402225955689492760055034870421002781) to this test or run pytest with --hypothesis-seed=316402225955689492760055034870421002781 to reproduce this failure.\r\n========================================================================= short test summary info ==========================================================================\r\nFAILED src/hyperlink/test/test_hypothesis.py::TestHypothesisStrategies::test_hostnames_ascii_nolead - hypothesis.errors.FailedHealthCheck: It looks like your strategy is...\r\n====================================================================== 1 failed, 112 passed in 27.97s ======================================================================\r\n```","author":{"url":"https://github.com/kloczek","@type":"Person","name":"kloczek"},"datePublished":"2021-04-18T01:21:01Z","url":"https://github.com/python-hyper/hyperlink/issues/163"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:97446e1f-9706-d50f-2aba-5fa4f33f5779 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C954:10F8DB:CFF84D:1197375:6B06E7BA |
| html-safe-nonce | eaf6d19555fc5c073b1fa18a0f58db993838ff23444e93cf5d06048b51a4c8c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTU0OjEwRjhEQjpDRkY4NEQ6MTE5NzM3NTo2QjA2RTdCQSIsInZpc2l0b3JfaWQiOiI4MDk3OTAwNzUxMzQ0NzAwNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 01534dc813303cd46e71cf550d9ef7833818dac3cc55eea3aa20fb77f175f6ae |
| hovercard-subject-tag | issue:860549114 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-hyper/hyperlink/163/issue_layout |
| twitter:image | https://opengraph.githubassets.com/90701fe2cb967872041c663a7bd787a6ae981e81be4af07ac24ba19d48c5cd64/python-hyper/hyperlink/issues/163 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/90701fe2cb967872041c663a7bd787a6ae981e81be4af07ac24ba19d48c5cd64/python-hyper/hyperlink/issues/163 |
| og:image:alt | + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-hyperlink-21.0.0-3.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-hyperlink-21.0.0-3.fc35.x86_64/usr/li... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kloczek |
| hostname | github.com |
| expected-hostname | github.com |
| None | 351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-hyper/hyperlink git https://github.com/python-hyper/hyperlink.git |
| octolytics-dimension-user_id | 13035907 |
| octolytics-dimension-user_login | python-hyper |
| octolytics-dimension-repository_id | 82321340 |
| octolytics-dimension-repository_nwo | python-hyper/hyperlink |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 82321340 |
| octolytics-dimension-repository_network_root_nwo | python-hyper/hyperlink |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af8913cd0f2f77c41796be449ac66a9108825abc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width