René's URL Explorer Experiment


Title: `unittest`: Improve `self.assert(Not)AlmostEqual(s)` by AlexWaygood · Pull Request #8066 · python/typeshed · GitHub

Open Graph Title: `unittest`: Improve `self.assert(Not)AlmostEqual(s)` by AlexWaygood · Pull Request #8066 · python/typeshed

X Title: `unittest`: Improve `self.assert(Not)AlmostEqual(s)` by AlexWaygood · Pull Request #8066 · python/typeshed

Description: Collection of library stubs for Python, with static types - `unittest`: Improve `self.assert(Not)AlmostEqual(s)` by AlexWaygood · Pull Request #8066 · python/typeshed

Open Graph Description: first and second can be any values where second can be subtracted from first, and the result of this operation can be safely passed to abs(), and the result of the absing can be safely compared wit...

X Description: first and second can be any values where second can be subtracted from first, and the result of this operation can be safely passed to abs(), and the result of the absing can be safely compared wit...

Opengraph URL: https://github.com/python/typeshed/pull/8066

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3f452c66-55c7-9693-4f94-ce31472f7fd1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8748:2337A:8807A8:C2AB8E:6A606DFA
html-safe-noncee022e4f45f81b8945062ee32fc3ae2a55eba8595cf5d28dabd30e3016ac126ea
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzQ4OjIzMzdBOjg4MDdBODpDMkFCOEU6NkE2MDZERkEiLCJ2aXNpdG9yX2lkIjoiODExNTM0NTU2NTE4NDcxNjI4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacac56a0e5f18d2a57a743de72d5254e19e28d432953bea298e96f8b549362bb7a
hovercard-subject-tagpull_request:965093899
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typeshed/8066/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9c4bbc74f95cd39d1fa46e85d3a28794bf11768d283e819bbb38653e18f16b9e/python/typeshed/pull/8066
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9c4bbc74f95cd39d1fa46e85d3a28794bf11768d283e819bbb38653e18f16b9e/python/typeshed/pull/8066
og:image:altfirst and second can be any values where second can be subtracted from first, and the result of this operation can be safely passed to abs(), and the result of the absing can be safely compared wit...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlexWaygood
hostnamegithub.com
expected-hostnamegithub.com
None60da8c2a42fa2bbf5f7567474990ec467836a84444262a58e200fa91b7f3d2d0
turbo-cache-controlno-cache
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9824515e740d83d5eb82168a089b806ab0fe04a1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typeshed/pull/8066#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F8066
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F8066
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/8066
Reloadhttps://github.com/python/typeshed/pull/8066
Reloadhttps://github.com/python/typeshed/pull/8066
Please reload this pagehttps://github.com/python/typeshed/pull/8066
python https://github.com/python
typeshedhttps://github.com/python/typeshed
Please reload this pagehttps://github.com/python/typeshed/pull/8066
Notifications https://github.com/login?return_to=%2Fpython%2Ftypeshed
Fork 2.1k https://github.com/login?return_to=%2Fpython%2Ftypeshed
Star 5.1k https://github.com/login?return_to=%2Fpython%2Ftypeshed
Code https://github.com/python/typeshed
Issues 224 https://github.com/python/typeshed/issues
Pull requests 144 https://github.com/python/typeshed/pulls
Actions https://github.com/python/typeshed/actions
Security and quality 0 https://github.com/python/typeshed/security
Insights https://github.com/python/typeshed/pulse
Code https://github.com/python/typeshed
Issues https://github.com/python/typeshed/issues
Pull requests https://github.com/python/typeshed/pulls
Actions https://github.com/python/typeshed/actions
Security and quality https://github.com/python/typeshed/security
Insights https://github.com/python/typeshed/pulse
Akulihttps://github.com/Akuli
python:masterhttps://github.com/python/typeshed/tree/master
AlexWaygood:almostequalhttps://github.com/AlexWaygood/typeshed/tree/almostequal
Conversationhttps://github.com/python/typeshed/pull/8066
Commits11 (11)https://github.com/python/typeshed/pull/8066/commits
Checkshttps://github.com/python/typeshed/pull/8066/checks
Files changedhttps://github.com/python/typeshed/pull/8066/files
unittest: Improve self.assert(Not)AlmostEqual(s)https://github.com/python/typeshed/pull/8066#top
Akulihttps://github.com/Akuli
python:masterhttps://github.com/python/typeshed/tree/master
AlexWaygood:almostequalhttps://github.com/AlexWaygood/typeshed/tree/almostequal
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jun 12, 2022https://github.com/python/typeshed/pull/8066#issue-1268705495
Please reload this pagehttps://github.com/python/typeshed/pull/8066
https://github.com/python/cpython/blob/93310879665368445f95df2f3d9be7fb82435248/Lib/unittest/case.py#L904https://github.com/python/cpython/blob/93310879665368445f95df2f3d9be7fb82435248/Lib/unittest/case.py#L904
the runtime raises an exceptionhttps://github.com/python/cpython/blob/93310879665368445f95df2f3d9be7fb82435248/Lib/unittest/case.py#L901-L902
#7891https://github.com/python/typeshed/issues/7891
Please reload this pagehttps://github.com/python/typeshed/pull/8066
AlexWaygoodhttps://github.com/AlexWaygood
June 12, 2022 22:18https://github.com/python/typeshed/pull/8066#commits-pushed-1b7ac44
https://github.com/AlexWaygood
unittest: Improve self.assertAlmostEqualhttps://github.com/python/typeshed/pull/8066/commits/1b7ac445b6d8af770f9634dd0a98ed7bf882047b
1b7ac44https://github.com/python/typeshed/pull/8066/commits/1b7ac445b6d8af770f9634dd0a98ed7bf882047b
https://github.com/AlexWaygood
Fix pyright complaintshttps://github.com/python/typeshed/pull/8066/commits/615e997699ebc5d5d27f32014f90a7a1018437b4
615e997https://github.com/python/typeshed/pull/8066/commits/615e997699ebc5d5d27f32014f90a7a1018437b4
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F8066
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F8066
AlexWaygoodhttps://github.com/AlexWaygood
June 12, 2022 22:44https://github.com/python/typeshed/pull/8066#commits-pushed-704eda1
https://github.com/AlexWaygood
Avoid regression with datetime, add a testhttps://github.com/python/typeshed/pull/8066/commits/704eda1998e53c1fca136e6f6e5b9eb70a0c8144
704eda1https://github.com/python/typeshed/pull/8066/commits/704eda1998e53c1fca136e6f6e5b9eb70a0c8144
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/8066/commits/33c02d27b938a4724fee0b15ef4b193f7b4eeb2f
33c02d2https://github.com/python/typeshed/pull/8066/commits/33c02d27b938a4724fee0b15ef4b193f7b4eeb2f
https://github.com/AlexWaygood
Improve testshttps://github.com/python/typeshed/pull/8066/commits/70c2420c2c195cbd4af24a33e1377a1d38b47cd9
70c2420https://github.com/python/typeshed/pull/8066/commits/70c2420c2c195cbd4af24a33e1377a1d38b47cd9
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F8066
https://github.com/AlexWaygood
One morehttps://github.com/python/typeshed/pull/8066/commits/93df0e044b8475eb9c1d9e21dfc824e1ce50c7ea
93df0e0https://github.com/python/typeshed/pull/8066/commits/93df0e044b8475eb9c1d9e21dfc824e1ce50c7ea
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
June 12, 2022 21:56https://github.com/python/typeshed/pull/8066#event-6792009972
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F8066
https://github.com/AlexWaygood
Take care of the deprecated aliases as wellhttps://github.com/python/typeshed/pull/8066/commits/389f6861ad207fbf983e3a5c62bfd6c9e30a4bb6
389f686https://github.com/python/typeshed/pull/8066/commits/389f6861ad207fbf983e3a5c62bfd6c9e30a4bb6
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jun 12, 2022https://github.com/python/typeshed/pull/8066#event-6792015652
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F8066
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F8066
https://github.com/Akuli
Akulihttps://github.com/Akuli
Jun 13, 2022https://github.com/python/typeshed/pull/8066#issuecomment-1154048432
Please reload this pagehttps://github.com/python/typeshed/pull/8066
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jun 13, 2022https://github.com/python/typeshed/pull/8066#issuecomment-1154091530
Please reload this pagehttps://github.com/python/typeshed/pull/8066
Please reload this pagehttps://github.com/python/typeshed/pull/8066
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
June 13, 2022 15:51https://github.com/python/typeshed/pull/8066#event-6797316544
AlexWaygoodhttps://github.com/AlexWaygood
June 13, 2022 18:33https://github.com/python/typeshed/pull/8066#commits-pushed-3a30d0b
https://github.com/AlexWaygood
Merge remote-tracking branch 'origin/master' into almostequalhttps://github.com/python/typeshed/pull/8066/commits/3a30d0b1391aa3046a757491f8dcc5ba57cd1582
3a30d0bhttps://github.com/python/typeshed/pull/8066/commits/3a30d0b1391aa3046a757491f8dcc5ba57cd1582
https://github.com/AlexWaygood
Get all tests to pass correctlyhttps://github.com/python/typeshed/pull/8066/commits/a227de63aa5d238d453ffaaaf2d0869e65e27569
a227de6https://github.com/python/typeshed/pull/8066/commits/a227de63aa5d238d453ffaaaf2d0869e65e27569
https://github.com/AlexWaygood
Fixhttps://github.com/python/typeshed/pull/8066/commits/6ed6d96c5b5b3239efee2654b499bb6b04d38bef
6ed6d96https://github.com/python/typeshed/pull/8066/commits/6ed6d96c5b5b3239efee2654b499bb6b04d38bef
https://github.com/AlexWaygood
Unused importhttps://github.com/python/typeshed/pull/8066/commits/761a483707133a2fc6b0b848e811d0dab1376a19
761a483https://github.com/python/typeshed/pull/8066/commits/761a483707133a2fc6b0b848e811d0dab1376a19
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F8066
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
June 13, 2022 22:07https://github.com/python/typeshed/pull/8066#event-6799546201
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Akulihttps://github.com/Akuli
June 13, 2022 22:07https://github.com/python/typeshed/pull/8066#event-6799547324
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 13, 2022https://github.com/python/typeshed/pull/8066#issuecomment-1154490686
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/8066
https://github.com/Akuli
Akulihttps://github.com/Akuli
Jun 14, 2022 https://github.com/python/typeshed/pull/8066#pullrequestreview-1006077746
View reviewed changes https://github.com/python/typeshed/pull/8066/files/761a483707133a2fc6b0b848e811d0dab1376a19
test_cases/stdlib/test_unittest.pyhttps://github.com/python/typeshed/pull/8066/files/761a483707133a2fc6b0b848e811d0dab1376a19#diff-69b247614e49ee35aac8c1d5ba340f6021f09071265b88bc625d0e11f193a149
Akulihttps://github.com/Akuli
Jun 14, 2022https://github.com/python/typeshed/pull/8066#discussion_r896969019
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/8066
AlexWaygoodhttps://github.com/AlexWaygood
Jun 14, 2022https://github.com/python/typeshed/pull/8066#discussion_r896988019
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/8066
https://github.com/Akuli
Akulihttps://github.com/Akuli
5add91dhttps://github.com/python/typeshed/commit/5add91d6bb316bddca055bdd6e4f3d495ce3ad82
Jun 14, 2022https://github.com/python/typeshed/pull/8066#event-6805439087
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
June 14, 2022 15:25https://github.com/python/typeshed/pull/8066#event-6805445521
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jun 14, 2022 https://github.com/python/typeshed/pull/8066#ref-pullrequest-1271283481
unittest.case: Further stub improvements #8077 https://github.com/python/typeshed/pull/8077
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jun 15, 2022 https://github.com/python/typeshed/pull/8066#ref-pullrequest-1272321433
Remove mypy error codes from the test_cases directory #8083 https://github.com/python/typeshed/pull/8083
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Sep 20, 2022 https://github.com/python/typeshed/pull/8066#ref-issue-1379961083
Ideas for improving typeshed testing and tooling #8774 https://github.com/python/typeshed/issues/8774
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F8066
https://github.com/Akuli
Akuli https://github.com/Akuli
https://github.com/python/typeshed/pull/8066/files/761a483707133a2fc6b0b848e811d0dab1376a19
assert(Not)AlmostEqual(s) specifies the type as float https://github.com/python/typeshed/issues/7891
Please reload this pagehttps://github.com/python/typeshed/pull/8066
https://github.com/AlexWaygood
https://github.com/Akuli
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.