René's URL Explorer Experiment


Title: Add test to Lib and allow test_bool.py to run by palaviv · Pull Request #1587 · RustPython/RustPython · GitHub

Open Graph Title: Add test to Lib and allow test_bool.py to run by palaviv · Pull Request #1587 · RustPython/RustPython

X Title: Add test to Lib and allow test_bool.py to run by palaviv · Pull Request #1587 · RustPython/RustPython

Description: After this change you can run test_bool.py from CPython: cargo run --release Lib/test/test_bool.py Finished release [optimized] target(s) in 0.10s Running `target/release/rustpython Lib/test/test_bool.py` test_blocked (__main__.BoolTest) ... ok test_boolean (__main__.BoolTest) ... ok test_callable (__main__.BoolTest) ... ok test_contains (__main__.BoolTest) ... ok test_convert (__main__.BoolTest) ... ok test_convert_to_bool (__main__.BoolTest) ... ok test_fileclosed (__main__.BoolTest) ... ERROR test_float (__main__.BoolTest) ... ok test_format (__main__.BoolTest) ... ok test_from_bytes (__main__.BoolTest) ... FAIL test_hasattr (__main__.BoolTest) ... ok test_int (__main__.BoolTest) ... ok test_isinstance (__main__.BoolTest) ... ok test_issubclass (__main__.BoolTest) ... ok test_keyword_args (__main__.BoolTest) ... FAIL test_marshal (__main__.BoolTest) ... ERROR test_math (__main__.BoolTest) ... FAIL test_operator (__main__.BoolTest) ... ok test_pickle (__main__.BoolTest) ... ERROR test_picklevalues (__main__.BoolTest) ... ERROR test_print (__main__.BoolTest) ... ERROR test_real_and_imag (__main__.BoolTest) ... ok test_repr (__main__.BoolTest) ... ok test_sane_len (__main__.BoolTest) ... ok test_str (__main__.BoolTest) ... ok test_string (__main__.BoolTest) ... FAIL test_subclass (__main__.BoolTest) ... FAIL test_types (__main__.BoolTest) ... ok ====================================================================== ERROR: test_fileclosed (__main__.BoolTest) ---------------------------------------------------------------------- AttributeError: AttributeError("'TextIOWrapper' object has no attribute 'closed'",) ====================================================================== ERROR: test_marshal (__main__.BoolTest) ---------------------------------------------------------------------- TypeError: TypeError("Expected type , not ",) ====================================================================== ERROR: test_pickle (__main__.BoolTest) ---------------------------------------------------------------------- ModuleNotFoundError: ModuleNotFoundError("No module named 'pickle'",) ====================================================================== ERROR: test_picklevalues (__main__.BoolTest) ---------------------------------------------------------------------- ModuleNotFoundError: ModuleNotFoundError("No module named 'pickle'",) ====================================================================== ERROR: test_print (__main__.BoolTest) ---------------------------------------------------------------------- TypeError: TypeError("Expected type , not ",) ====================================================================== FAIL: test_from_bytes (__main__.BoolTest) ---------------------------------------------------------------------- AssertionError: AssertionError('0 is not False',) ====================================================================== FAIL: test_keyword_args (__main__.BoolTest) ---------------------------------------------------------------------- AssertionError: AssertionError('TypeError not raised',) ====================================================================== FAIL: test_math (__main__.BoolTest) ---------------------------------------------------------------------- AssertionError: AssertionError('unexpectedly identical: False',) ====================================================================== FAIL: test_string (__main__.BoolTest) ---------------------------------------------------------------------- AssertionError: AssertionError('False is not True',) ====================================================================== FAIL: test_subclass (__main__.BoolTest) ---------------------------------------------------------------------- AssertionError: AssertionError('bool should not be subclassable',) ---------------------------------------------------------------------- Ran 28 tests in 0.050s FAILED (failures=5, errors=5) Traceback (most recent call last): File "Lib/test/test_bool.py", line 369, in test_main() File "Lib/test/test_bool.py", line 366, in test_main support.run_unittest(BoolTest) File "/home/aviv/dev/RustPython/Lib/test/support/__init__.py", line 2075, in run_unittest elif isinstance(cls, valid_types): File "/home/aviv/dev/RustPython/Lib/test/support/__init__.py", line 1994, in _run_suite elif len(result.failures) == 1 and not result.errors: TestFailed: multiple errors occurred The output is after the fix in #1582

Open Graph Description: After this change you can run test_bool.py from CPython: cargo run --release Lib/test/test_bool.py Finished release [optimized] target(s) in 0.10s Running `target/release/rustpython Lib/te...

X Description: After this change you can run test_bool.py from CPython: cargo run --release Lib/test/test_bool.py Finished release [optimized] target(s) in 0.10s Running `target/release/rustpython Lib/te...

Opengraph URL: https://github.com/RustPython/RustPython/pull/1587

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:adc61aa3-6376-845d-0b47-3acebdea6b49
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9DB6:1ABBA1:36D7AB:4CF4FF:6A59C9F6
html-safe-noncef7adcb6addf2c31ae9a66a9f14b40ae86f4685a9af7237e77d9684e65bcee9ab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REI2OjFBQkJBMTozNkQ3QUI6NENGNEZGOjZBNTlDOUY2IiwidmlzaXRvcl9pZCI6IjQ5OTQwMTgwNTYwNzY5MDQ5NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3a2567b736a964af007edc81c2a15ac4e249bf827307bd4c08c3159ac6e871d9
hovercard-subject-tagpull_request:338173705
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/RustPython/RustPython/pull/1587/files
twitter:imagehttps://avatars.githubusercontent.com/u/6990375?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/6990375?s=400&v=4
og:image:altAfter this change you can run test_bool.py from CPython: cargo run --release Lib/test/test_bool.py Finished release [optimized] target(s) in 0.10s Running `target/release/rustpython Lib/te...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
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
releaseab680789ae4a316cdaf0d5a292a1760140931cc4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/1587/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F1587%2Ffiles
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
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%2FRustPython%2FRustPython%2Fpull%2F1587%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/1587/files
Reloadhttps://github.com/RustPython/RustPython/pull/1587/files
Reloadhttps://github.com/RustPython/RustPython/pull/1587/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1587/files
RustPython https://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Notifications https://github.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.5k https://github.com/login?return_to=%2FRustPython%2FRustPython
Star 22.2k https://github.com/login?return_to=%2FRustPython%2FRustPython
Code https://github.com/RustPython/RustPython
Issues 288 https://github.com/RustPython/RustPython/issues
Pull requests 100 https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality 0 https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Code https://github.com/RustPython/RustPython
Issues https://github.com/RustPython/RustPython/issues
Pull requests https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
coolreader18https://github.com/coolreader18
RustPython:masterhttps://github.com/RustPython/RustPython/tree/master
palaviv:add-testhttps://github.com/palaviv/RustPython/tree/add-test
Conversation 1 https://github.com/RustPython/RustPython/pull/1587
Commits 2 https://github.com/RustPython/RustPython/pull/1587/commits
Checks 0 https://github.com/RustPython/RustPython/pull/1587/checks
Files changed https://github.com/RustPython/RustPython/pull/1587/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1587/files
Add test to Lib and allow test_bool.py to run https://github.com/RustPython/RustPython/pull/1587/files#top
Show all changes 2 commits https://github.com/RustPython/RustPython/pull/1587/files
15fc64d Copy test_bool.py and test.support from CPython palaviv Nov 12, 2019 https://github.com/RustPython/RustPython/pull/1587/commits/15fc64dc1e379559da1991d98cc23e33d945b14f
adeb00f Allow test_bool.py to run palaviv Nov 2, 2019 https://github.com/RustPython/RustPython/pull/1587/commits/adeb00ffbc7bf3ee39f200be0df0e745d0e4b8ad
Clear filters https://github.com/RustPython/RustPython/pull/1587/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1587/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1587/files
__init__.py https://github.com/RustPython/RustPython/pull/1587/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d
script_helper.py https://github.com/RustPython/RustPython/pull/1587/files#diff-ab537d38e290ab1e31c5f9dc71ceadec8f26de787bac9c3143d3528b482d2156
testresult.py https://github.com/RustPython/RustPython/pull/1587/files#diff-7276e2255855ea27fd818f3578590629471f8ef6be35428cc858c56e4117bf7f
test_bool.py https://github.com/RustPython/RustPython/pull/1587/files#diff-7b8d8b2d56e694a0cf153fe5f5df3293507d95a662d31992b04a9a5ba32fff53
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1587/files
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.