René's URL Explorer Experiment


Title: pytest.fail: fix ANSI escape codes for colored output (#12959) (#12990) · pytest-dev/pytest@16cb87b · GitHub

Open Graph Title: pytest.fail: fix ANSI escape codes for colored output (#12959) (#12990) · pytest-dev/pytest@16cb87b

X Title: pytest.fail: fix ANSI escape codes for colored output (#12959) (#12990) · pytest-dev/pytest@16cb87b

Description: The pytest framework makes it easy to write small tests, yet scales to support complex functional testing - pytest.fail: fix ANSI escape codes for colored output (#12959) (#12990) · pytest-dev/pytest@16cb87b

Open Graph Description: - When `ReprEntry.style == "value"` (happens when calling `pytest.fail(..., pytrace=False)`, the message should not be printed to terminal using `TerminalWriter._write_source` because the...

X Description: - When `ReprEntry.style == "value"` (happens when calling `pytest.fail(..., pytrace=False)`, the message should not be printed to terminal using `TerminalWriter._write_source` bec...

Opengraph URL: /pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/commit/:name(/*path)
route-controllercommit
route-actionshow
fetch-noncev2:fe8d1cda-3390-029e-dcf4-ca7874de02db
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idE7E8:236EAA:27EC094:334411C:69929DDB
html-safe-noncebd3ec973dcf70bcf3a1646abb46aba445a9d278cd8e982b48afccebf53f9bd94
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0U4OjIzNkVBQToyN0VDMDk0OjMzNDQxMUM6Njk5MjlEREIiLCJ2aXNpdG9yX2lkIjoiNjc2NzUxODg4Mjc1ODU2NTMzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9c6405b2ef712d5b4f4995a783a8503e5f7152f95b7231c07a1d405fb0689287
hovercard-subject-tagrepository:37489525
github-keyboard-shortcutsrepository,commits,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///commit/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703
twitter:imagehttps://opengraph.githubassets.com/477878241b7a8b954bc17125e882facdc151eb9f7a7085f52dbb673728f45033/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/477878241b7a8b954bc17125e882facdc151eb9f7a7085f52dbb673728f45033/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703
og:image:alt- When `ReprEntry.style == "value"` (happens when calling `pytest.fail(..., pytrace=False)`, the message should not be printed to terminal using `TerminalWriter._write_source` because the...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:updated_time1732538662
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-cache
go-importgithub.com/pytest-dev/pytest git https://github.com/pytest-dev/pytest.git
octolytics-dimension-user_id8897583
octolytics-dimension-user_loginpytest-dev
octolytics-dimension-repository_id37489525
octolytics-dimension-repository_nwopytest-dev/pytest
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id37489525
octolytics-dimension-repository_network_root_nwopytest-dev/pytest
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
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpytest-dev%2Fpytest%2Fcommit%2F16cb87b65036300d74472cd55eebca8fc3f8e703
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fpytest-dev%2Fpytest%2Fcommit%2F16cb87b65036300d74472cd55eebca8fc3f8e703
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%2Fcommit%2Fshow&source=header-repo&source_repo=pytest-dev%2Fpytest
Reloadhttps://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703
Reloadhttps://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703
Reloadhttps://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703
pytest-dev https://github.com/pytest-dev
pytesthttps://github.com/pytest-dev/pytest
Please reload this pagehttps://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703
Notifications https://github.com/login?return_to=%2Fpytest-dev%2Fpytest
Fork 3k https://github.com/login?return_to=%2Fpytest-dev%2Fpytest
Star 13.6k https://github.com/login?return_to=%2Fpytest-dev%2Fpytest
Code https://github.com/pytest-dev/pytest
Issues 871 https://github.com/pytest-dev/pytest/issues
Pull requests 118 https://github.com/pytest-dev/pytest/pulls
Discussions https://github.com/pytest-dev/pytest/discussions
Actions https://github.com/pytest-dev/pytest/actions
Projects 5 https://github.com/pytest-dev/pytest/projects
Wiki https://github.com/pytest-dev/pytest/wiki
Security 0 https://github.com/pytest-dev/pytest/security
Insights https://github.com/pytest-dev/pytest/pulse
Code https://github.com/pytest-dev/pytest
Issues https://github.com/pytest-dev/pytest/issues
Pull requests https://github.com/pytest-dev/pytest/pulls
Discussions https://github.com/pytest-dev/pytest/discussions
Actions https://github.com/pytest-dev/pytest/actions
Projects https://github.com/pytest-dev/pytest/projects
Wiki https://github.com/pytest-dev/pytest/wiki
Security https://github.com/pytest-dev/pytest/security
Insights https://github.com/pytest-dev/pytest/pulse
Browse fileshttps://github.com/pytest-dev/pytest/tree/16cb87b65036300d74472cd55eebca8fc3f8e703
https://github.com/pytest-dev/pytest/tree/16cb87b65036300d74472cd55eebca8fc3f8e703
patchback[bot]https://github.com/pytest-dev/pytest/commits?author=patchback%5Bbot%5D
leonarduschenhttps://github.com/pytest-dev/pytest/commits?author=leonarduschen
#12959https://github.com/pytest-dev/pytest/pull/12959
#12990https://github.com/pytest-dev/pytest/pull/12990
#12959 (comment)https://github.com/pytest-dev/pytest/pull/12959#discussion_r1842574618
#12849https://github.com/pytest-dev/pytest/issues/12849
76e0444https://github.com/pytest-dev/pytest/commit/76e044477010dcc0e31d4a736b7130e044a01a7e
be6bc81https://github.com/pytest-dev/pytest/commit/be6bc812b02454b2915755dd76ce74b877aeafad
AUTHORShttps://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703#diff-ab6af77435f58cc0c9d4c31dfe05656e45187cc7c7fc02aada401a7642125463
12849.bugfix.rsthttps://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703#diff-8e2d2fb3c8281fdce77ec2e487c1454968ca11a036b5a1bc808d185a31dc88f4
code.pyhttps://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703#diff-ac2099a172465905236568f8c175328fb75ebc1b80ce39f4799e61373d355418
test_excinfo.pyhttps://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703#diff-7a16e3852eb8406ddba0e044a28fc92292ab74f4650e687ddb7fb0fb19c32a3d
conftest.pyhttps://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703#diff-e167ad8587c021926a37cb8b1fbf573aaa003765a2aa7d755cb4d74b3769086c
‎AUTHORS‎https://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703#diff-ab6af77435f58cc0c9d4c31dfe05656e45187cc7c7fc02aada401a7642125463
‎changelog/12849.bugfix.rst‎https://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703#diff-8e2d2fb3c8281fdce77ec2e487c1454968ca11a036b5a1bc808d185a31dc88f4
‎src/_pytest/_code/code.py‎https://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703#diff-ac2099a172465905236568f8c175328fb75ebc1b80ce39f4799e61373d355418
‎testing/code/test_excinfo.py‎https://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703#diff-7a16e3852eb8406ddba0e044a28fc92292ab74f4650e687ddb7fb0fb19c32a3d
‎testing/conftest.py‎https://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703#diff-e167ad8587c021926a37cb8b1fbf573aaa003765a2aa7d755cb4d74b3769086c
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.