René's URL Explorer Experiment


Title: Switch to pytest for test running by jstasiak · Pull Request #240 · python-zeroconf/python-zeroconf · GitHub

Open Graph Title: Switch to pytest for test running by jstasiak · Pull Request #240 · python-zeroconf/python-zeroconf

X Title: Switch to pytest for test running by jstasiak · Pull Request #240 · python-zeroconf/python-zeroconf

Description: Nose is dead for all intents and purposes (last release in 2015) and pytest provide a very valuable feature of printing relevant extra information in case of assertion failure (from[1]): ================================= FAILURES ================================= _______________________________ test_answer ________________________________ def test_answer(): > assert func(3) == 5 E assert 4 == 5 E + where 4 = func(3) test_sample.py:6: AssertionError ========================= short test summary info ========================== FAILED test_sample.py::test_answer - assert 4 == 5 ============================ 1 failed in 0.12s ============================= This should be helpful in debugging tests intermittently failing on PyPy. Several TestCase.assertEqual() calls have been replaced by plain assertions now that that method no longer provides anything we can't get without it. Few assertions have been modified to not explicitly provide extra information in case of failure – pytest will provide this automatically. [1] https://docs.pytest.org/en/latest/getting-started.html#create-your-first-test

Open Graph Description: Nose is dead for all intents and purposes (last release in 2015) and pytest provide a very valuable feature of printing relevant extra information in case of assertion failure (from[1]): ==========...

X Description: Nose is dead for all intents and purposes (last release in 2015) and pytest provide a very valuable feature of printing relevant extra information in case of assertion failure (from[1]): ==========...

Opengraph URL: https://github.com/python-zeroconf/python-zeroconf/pull/240

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9f671121-4ba9-ce4d-0975-d46880c73294
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD980:20EA2B:2CF9F8:3C2189:6B009E14
html-safe-nonce4db3dcfc2a816e307078e4fc9843932f078b67aeb6ca60a28e53ad4a0fb7e9ed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTgwOjIwRUEyQjoyQ0Y5Rjg6M0MyMTg5OjZCMDA5RTE0IiwidmlzaXRvcl9pZCI6IjgzODU0NTA4ODMwMDUwNjI2NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8288446cc22a9c85e1efb03714aa274b8a7a6fe1a07d81642b5759966ef123cf
hovercard-subject-tagpull_request:401333618
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-zeroconf/python-zeroconf/pull/240/files
twitter:imagehttps://avatars.githubusercontent.com/u/36209?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/36209?s=400&v=4
og:image:altNose is dead for all intents and purposes (last release in 2015) and pytest provide a very valuable feature of printing relevant extra information in case of assertion failure (from[1]): ==========...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None52c95ce7e48016ae14399656b4ee812462b6f1fa28c5008c8394da64794c00b8
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-zeroconf/python-zeroconf git https://github.com/python-zeroconf/python-zeroconf.git
octolytics-dimension-user_id120192235
octolytics-dimension-user_loginpython-zeroconf
octolytics-dimension-repository_id21548731
octolytics-dimension-repository_nwopython-zeroconf/python-zeroconf
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21548731
octolytics-dimension-repository_network_root_nwopython-zeroconf/python-zeroconf
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1c9ddec8215f9a94e295c8310c3579b9c54ba31a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-zeroconf/python-zeroconf/pull/240/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fpull%2F240%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fpull%2F240%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-zeroconf%2Fpython-zeroconf
Reloadhttps://github.com/python-zeroconf/python-zeroconf/pull/240/files
Reloadhttps://github.com/python-zeroconf/python-zeroconf/pull/240/files
Reloadhttps://github.com/python-zeroconf/python-zeroconf/pull/240/files
python-zeroconfhttps://github.com/python-zeroconf
python-zeroconfhttps://github.com/python-zeroconf/python-zeroconf
Codehttps://github.com/python-zeroconf/python-zeroconf
Issues50 (50)https://github.com/python-zeroconf/python-zeroconf/issues
Pull requests16 (16)https://github.com/python-zeroconf/python-zeroconf/pulls
Discussionshttps://github.com/python-zeroconf/python-zeroconf/discussions
Actionshttps://github.com/python-zeroconf/python-zeroconf/actions
Projectshttps://github.com/python-zeroconf/python-zeroconf/projects
Wikihttps://github.com/python-zeroconf/python-zeroconf/wiki
Security and quality5 (5)https://github.com/python-zeroconf/python-zeroconf/security
Insightshttps://github.com/python-zeroconf/python-zeroconf/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2Fnew%2Fchoose
jstasiakhttps://github.com/jstasiak
masterhttps://github.com/python-zeroconf/python-zeroconf/tree/master
switch-to-pytesthttps://github.com/python-zeroconf/python-zeroconf/tree/switch-to-pytest
Conversation 1 https://github.com/python-zeroconf/python-zeroconf/pull/240
Commits 9 https://github.com/python-zeroconf/python-zeroconf/pull/240/commits
Checks 0 https://github.com/python-zeroconf/python-zeroconf/pull/240/checks
Files changed https://github.com/python-zeroconf/python-zeroconf/pull/240/files
Please reload this pagehttps://github.com/python-zeroconf/python-zeroconf/pull/240/files
Switch to pytest for test running https://github.com/python-zeroconf/python-zeroconf/pull/240/files#top
Show all changes 9 commits https://github.com/python-zeroconf/python-zeroconf/pull/240/files
69ee805 Switch to pytest for test running jstasiak Apr 9, 2020 https://github.com/python-zeroconf/python-zeroconf/pull/240/commits/69ee8051b01ea2d4610c067c508dbf942025da92
93be020 Bring back one variable jstasiak Apr 9, 2020 https://github.com/python-zeroconf/python-zeroconf/pull/240/commits/93be0203c88085b020ca658af4551a683739e6c1
a8364c6 Revert "Bring back one variable" jstasiak Apr 9, 2020 https://github.com/python-zeroconf/python-zeroconf/pull/240/commits/a8364c68dc6d47fbdcc4386c3e8206a409cba571
df49e3f Actually run pytest jstasiak Apr 9, 2020 https://github.com/python-zeroconf/python-zeroconf/pull/240/commits/df49e3f7c552cc6395176b6e95da58e1be4de566
977763e Install pytest-cov for coverage jstasiak Apr 9, 2020 https://github.com/python-zeroconf/python-zeroconf/pull/240/commits/977763ebdee3b8ede51d6ff19f3822cf80bc7ebe
94ec402 Find zeroconf module in the working directory jstasiak Apr 9, 2020 https://github.com/python-zeroconf/python-zeroconf/pull/240/commits/94ec402fa710fd75f4def6d4171606b7d2982fb0
ae7ff42 explicitly jstasiak Apr 9, 2020 https://github.com/python-zeroconf/python-zeroconf/pull/240/commits/ae7ff422330dc01af9cbe84d5146c5a688acf755
c7db869 Provide the test file to pytest explicitly jstasiak Apr 9, 2020 https://github.com/python-zeroconf/python-zeroconf/pull/240/commits/c7db8694c8c8ab57c7d4e3b7767c983f70387d6a
17d74aa Always install the latest dev dependencies jstasiak Apr 9, 2020 https://github.com/python-zeroconf/python-zeroconf/pull/240/commits/17d74aa2b073c1b9beabc4874f9fa2696b6bf54f
Clear filters https://github.com/python-zeroconf/python-zeroconf/pull/240/files
Please reload this pagehttps://github.com/python-zeroconf/python-zeroconf/pull/240/files
Please reload this pagehttps://github.com/python-zeroconf/python-zeroconf/pull/240/files
.travis.yml https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
Makefile https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
requirements-dev.txt https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-2b4945591edfeaa4cf4d3f155e66d4b43d1bda7a55d881d5cf3107f1b05abbbc
test.py https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
.travis.ymlhttps://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
View file https://github.com/python-zeroconf/python-zeroconf/blob/17d74aa2b073c1b9beabc4874f9fa2696b6bf54f/.travis.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/240/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
Makefilehttps://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
View file https://github.com/python-zeroconf/python-zeroconf/blob/17d74aa2b073c1b9beabc4874f9fa2696b6bf54f/Makefile
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/240/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
requirements-dev.txthttps://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-2b4945591edfeaa4cf4d3f155e66d4b43d1bda7a55d881d5cf3107f1b05abbbc
View file https://github.com/python-zeroconf/python-zeroconf/blob/17d74aa2b073c1b9beabc4874f9fa2696b6bf54f/requirements-dev.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/240/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-2b4945591edfeaa4cf4d3f155e66d4b43d1bda7a55d881d5cf3107f1b05abbbc
zeroconf/test.pyhttps://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
View file https://github.com/python-zeroconf/python-zeroconf/blob/17d74aa2b073c1b9beabc4874f9fa2696b6bf54f/zeroconf/test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/240/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com/python-zeroconf/python-zeroconf/pull/240/files#diff-8a2375d7dc40a924b4a5a4738d1e6cdb4516d23371268f2ea70a2e5d33edfcd7
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.