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
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
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:adc61aa3-6376-845d-0b47-3acebdea6b49 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9DB6:1ABBA1:36D7AB:4CF4FF:6A59C9F6 |
| html-safe-nonce | f7adcb6addf2c31ae9a66a9f14b40ae86f4685a9af7237e77d9684e65bcee9ab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REI2OjFBQkJBMTozNkQ3QUI6NENGNEZGOjZBNTlDOUY2IiwidmlzaXRvcl9pZCI6IjQ5OTQwMTgwNTYwNzY5MDQ5NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3a2567b736a964af007edc81c2a15ac4e249bf827307bd4c08c3159ac6e871d9 |
| hovercard-subject-tag | pull_request:338173705 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/1587/files |
| twitter:image | https://avatars.githubusercontent.com/u/6990375?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/6990375?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ab680789ae4a316cdaf0d5a292a1760140931cc4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width