René's URL Explorer Experiment


Title: Tests failing on Python 2 · Issue #656 · python/typing · GitHub

Open Graph Title: Tests failing on Python 2 · Issue #656 · python/typing

X Title: Tests failing on Python 2 · Issue #656 · python/typing

Description: Tests are failing on the 3.7.4 tag on Python 2 # python --version Python 2.7.13 :: Continuum Analytics, Inc. # python test_typing.py ...........................................................................................................

Open Graph Description: Tests are failing on the 3.7.4 tag on Python 2 # python --version Python 2.7.13 :: Continuum Analytics, Inc. # python test_typing.py ...................................................................

X Description: Tests are failing on the 3.7.4 tag on Python 2 # python --version Python 2.7.13 :: Continuum Analytics, Inc. # python test_typing.py ...................................................................

Opengraph URL: https://github.com/python/typing/issues/656

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tests failing on Python 2","articleBody":"Tests are failing on the `3.7.4` tag on Python 2\r\n```\r\n# python --version\r\nPython 2.7.13 :: Continuum Analytics, Inc.\r\n```\r\n```\r\n# python test_typing.py\r\n.................................................................................................................................................................E.......E..E..........................................................\r\n======================================================================\r\nERROR: test_protocol_instance_works (__main__.ProtocolTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test_typing.py\", line 1057, in test_protocol_instance_works\r\n    self.assertNotIsInstance('no', typing.SupportsAbs)\r\n  File \"/usr/lib/python2.7/unittest/case.py\", line 971, in assertNotIsInstance\r\n    if isinstance(obj, cls):\r\n  File \"/home/lwfitzgerald/typing/python2/typing.py\", line 1824, in __instancecheck__\r\n    issubclass(instance.__class__, self)):\r\n  File \"/home/lwfitzgerald/typing/python2/typing.py\", line 1847, in __subclasscheck__\r\n    return super(_ProtocolMeta, self).__subclasscheck__(cls)\r\n  File \"/home/lwfitzgerald/typing/python2/typing.py\", line 1407, in __subclasscheck__\r\n    return super(GenericMeta, self).__subclasscheck__(cls)\r\n  File \"/usr/lib/python2.7/abc.py\", line 180, in __subclasscheck__\r\n    if issubclass(subclass, scls):\r\n  File \"/home/lwfitzgerald/typing/python2/typing.py\", line 1847, in __subclasscheck__\r\n    return super(_ProtocolMeta, self).__subclasscheck__(cls)\r\n  File \"/home/lwfitzgerald/typing/python2/typing.py\", line 1401, in __subclasscheck__\r\n    raise TypeError(\"Parameterized generics cannot be used with class \"\r\nTypeError: Parameterized generics cannot be used with class or instance checks\r\n\r\n======================================================================\r\nERROR: test_reversible (__main__.ProtocolTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test_typing.py\", line 1049, in test_reversible\r\n    self.assertNotIsSubclass(int, typing.Reversible)\r\n  File \"test_typing.py\", line 42, in assertNotIsSubclass\r\n    if issubclass(cls, class_or_tuple):\r\n  File \"/home/lwfitzgerald/typing/python2/typing.py\", line 1847, in __subclasscheck__\r\n    return super(_ProtocolMeta, self).__subclasscheck__(cls)\r\n  File \"/home/lwfitzgerald/typing/python2/typing.py\", line 1407, in __subclasscheck__\r\n    return super(GenericMeta, self).__subclasscheck__(cls)\r\n  File \"/usr/lib/python2.7/abc.py\", line 180, in __subclasscheck__\r\n    if issubclass(subclass, scls):\r\n  File \"/home/lwfitzgerald/typing/python2/typing.py\", line 1847, in __subclasscheck__\r\n    return super(_ProtocolMeta, self).__subclasscheck__(cls)\r\n  File \"/home/lwfitzgerald/typing/python2/typing.py\", line 1401, in __subclasscheck__\r\n    raise TypeError(\"Parameterized generics cannot be used with class \"\r\nTypeError: Parameterized generics cannot be used with class or instance checks\r\n\r\n======================================================================\r\nERROR: test_supports_abs (__main__.ProtocolTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test_typing.py\", line 1045, in test_supports_abs\r\n    self.assertNotIsSubclass(str, typing.SupportsAbs)\r\n  File \"test_typing.py\", line 42, in assertNotIsSubclass\r\n    if issubclass(cls, class_or_tuple):\r\n  File \"/home/lwfitzgerald/typing/python2/typing.py\", line 1847, in __subclasscheck__\r\n    return super(_ProtocolMeta, self).__subclasscheck__(cls)\r\n  File \"/home/lwfitzgerald/typing/python2/typing.py\", line 1407, in __subclasscheck__\r\n    return super(GenericMeta, self).__subclasscheck__(cls)\r\n  File \"/usr/lib/python2.7/abc.py\", line 180, in __subclasscheck__\r\n    if issubclass(subclass, scls):\r\n  File \"/home/lwfitzgerald/typing/python2/typing.py\", line 1847, in __subclasscheck__\r\n    return super(_ProtocolMeta, self).__subclasscheck__(cls)\r\n  File \"/home/lwfitzgerald/typing/python2/typing.py\", line 1401, in __subclasscheck__\r\n    raise TypeError(\"Parameterized generics cannot be used with class \"\r\nTypeError: Parameterized generics cannot be used with class or instance checks\r\n\r\n----------------------------------------------------------------------\r\nRan 231 tests in 0.339s\r\n\r\nFAILED (errors=3)\r\n```","author":{"url":"https://github.com/lwfitzgerald","@type":"Person","name":"lwfitzgerald"},"datePublished":"2019-07-05T12:11:32Z","url":"https://github.com/python/typing/issues/656"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:75c11c0c-3f2e-7db7-7a36-a35e0b771c98
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBE2A:12476C:1DC6372:273FF49:6B0031F4
html-safe-nonceae667a93a5e9588d7a010a19bbc458a15e4d02e6cdc887e1b9fbc21e021f6ab9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTJBOjEyNDc2QzoxREM2MzcyOjI3M0ZGNDk6NkIwMDMxRjQiLCJ2aXNpdG9yX2lkIjoiODAzNjg1NjI5NjI4NjIwNDQwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac56ddd28471aedf84fe5f59e3c6eb0edcdcfed3e9898849831b7ee1d4b70361ac
hovercard-subject-tagissue:464612137
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/typing/656/issue_layout
twitter:imagehttps://opengraph.githubassets.com/95dcde483b26c462948a822e153644bde3915fc8e240fa000a56096fcf4ad507/python/typing/issues/656
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/95dcde483b26c462948a822e153644bde3915fc8e240fa000a56096fcf4ad507/python/typing/issues/656
og:image:altTests are failing on the 3.7.4 tag on Python 2 # python --version Python 2.7.13 :: Continuum Analytics, Inc. # python test_typing.py ...................................................................
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelwfitzgerald
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-preview
go-importgithub.com/python/typing git https://github.com/python/typing.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id24604008
octolytics-dimension-repository_nwopython/typing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24604008
octolytics-dimension-repository_network_root_nwopython/typing
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/typing/issues/656#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fissues%2F656
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%2Ftyping%2Fissues%2F656
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Ftyping
Reloadhttps://github.com/python/typing/issues/656
Reloadhttps://github.com/python/typing/issues/656
Reloadhttps://github.com/python/typing/issues/656
pythonhttps://github.com/python
typinghttps://github.com/python/typing
Codehttps://github.com/python/typing
Issues206 (206)https://github.com/python/typing/issues
Pull requests27 (27)https://github.com/python/typing/pulls
Discussionshttps://github.com/python/typing/discussions
Actionshttps://github.com/python/typing/actions
Security and qualityhttps://github.com/python/typing/security
Insightshttps://github.com/python/typing/insights
https://github.com/python/typing
New issuehttps://github.com/login?return_to=https://github.com/python/typing/issues/656
New issuehttps://github.com/login?return_to=https://github.com/python/typing/issues/656
#669https://github.com/python/typing/pull/669
Tests failing on Python 2https://github.com/python/typing/issues/656#top
#669https://github.com/python/typing/pull/669
https://github.com/lwfitzgerald
lwfitzgeraldhttps://github.com/lwfitzgerald
on Jul 5, 2019https://github.com/python/typing/issues/656#issue-464612137
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Jul 5, 2019https://github.com/python/typing/issues/656#issuecomment-508742518
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Jul 5, 2019https://github.com/python/typing/issues/656#issuecomment-508802536
ilevkivskyihttps://github.com/ilevkivskyi
bughttps://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22bug%22
on Jul 5, 2019https://github.com/python/typing/issues/656#event-2463105183
https://github.com/lwfitzgerald
lwfitzgeraldhttps://github.com/lwfitzgerald
on Jul 8, 2019https://github.com/python/typing/issues/656#issuecomment-509190305
ilevkivskyihttps://github.com/ilevkivskyi
completedhttps://github.com/python/typing/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#669https://github.com/python/typing/pull/669
on Aug 22, 2019https://github.com/python/typing/issues/656#event-2576442642
ilevkivskyihttps://github.com/ilevkivskyi
on Aug 22, 2019https://github.com/python/typing/issues/656#event-2576442725
Fix isinstance() with generic protocol subclasses after subscripting (#…https://github.com/python/typing/commit/a522554e2551b2d1ad46d287b428b2e3856d4c70
#…https://github.com/python/typing/pull/669
a522554https://github.com/python/typing/commit/a522554e2551b2d1ad46d287b428b2e3856d4c70
miss-islingtonhttps://github.com/miss-islington
on Aug 22, 2019https://github.com/python/typing/issues/656#event-2577315563
bpo-28556: Add a regression test to typing (GH-15396)https://github.com/python/cpython/commit/8889627b53e1eea2e32590f1867fbb0b0fc7407f
bpo-28556https://bugs.python.org/issue?@action=redirect&bpo=28556
GH-15396https://github.com/python/cpython/pull/15396
8889627https://github.com/python/cpython/commit/8889627b53e1eea2e32590f1867fbb0b0fc7407f
bpo-28556: Add a regression test to typing (pythonGH-15396)https://github.com/miss-islington/cpython/commit/ff5109a092a029a53d79f89412e26ea27559b63f
pythonGH-15396https://github.com/python/cpython/pull/15396
ff5109ahttps://github.com/miss-islington/cpython/commit/ff5109a092a029a53d79f89412e26ea27559b63f
bpo-28556: Add a regression test to typing (GH-15396)https://github.com/python/cpython/commit/5fda09cc1ebcb364a660bc5a831ef8f6463d810b
bpo-28556https://bugs.python.org/issue?@action=redirect&bpo=28556
GH-15396https://github.com/python/cpython/pull/15396
5fda09chttps://github.com/python/cpython/commit/5fda09cc1ebcb364a660bc5a831ef8f6463d810b
lisroachhttps://github.com/lisroach
on Sep 10, 2019https://github.com/python/typing/issues/656#event-2621612384
bpo-28556: Add a regression test to typing (pythonGH-15396)https://github.com/lisroach/cpython/commit/1207d64afb0437d091a46f346dfd289af4e663ed
pythonGH-15396https://github.com/python/cpython/pull/15396
1207d64https://github.com/lisroach/cpython/commit/1207d64afb0437d091a46f346dfd289af4e663ed
DinoVhttps://github.com/DinoV
on Jan 14, 2020https://github.com/python/typing/issues/656#event-2948829327
bpo-28556: Add a regression test to typing (pythonGH-15396)https://github.com/DinoV/cpython/commit/fee9c705058b8031d39e4d2ce42226711fa30f54
pythonGH-15396https://github.com/python/cpython/pull/15396
fee9c70https://github.com/DinoV/cpython/commit/fee9c705058b8031d39e4d2ce42226711fa30f54
websurfer5https://github.com/websurfer5
on Jul 20, 2020https://github.com/python/typing/issues/656#event-3567869720
bpo-28556: Add a regression test to typing (pythonGH-15396)https://github.com/websurfer5/cpython/commit/f1c97a4bbdf72f9706d33b9a69e2a2c6c4f47fab
pythonGH-15396https://github.com/python/cpython/pull/15396
f1c97a4https://github.com/websurfer5/cpython/commit/f1c97a4bbdf72f9706d33b9a69e2a2c6c4f47fab
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/typing/issues/656
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/typing/issues/656
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.