Title: Add untracked tests - (v3.13.11/v3.14.2) by terryluan12 · Pull Request #6775 · RustPython/RustPython · GitHub
Open Graph Title: Add untracked tests - (v3.13.11/v3.14.2) by terryluan12 · Pull Request #6775 · RustPython/RustPython
X Title: Add untracked tests - (v3.13.11/v3.14.2) by terryluan12 · Pull Request #6775 · RustPython/RustPython
Description: So I know I was told to make all the downgrading changes in one big PR. I have now also made all of the adding untracked tests in one big PR lmao. (Please let me know if I should create individual PR's. I absolutely understand if I do, since this is massive) This PR adds (most of) the rest of the untracked test libraries from version 3.13.11 that were left to be added. I did not import the libraries themselves, as even I thought that was too much for one PR lol I plan to update the libraries to v3.14.2 before merging, but I figure I will probably have to separate out at least some tests, so wanted to get out this PR before I do anything else There are 6 commits, that I organized in a way where it should be easier to review. Specifically: Updated all tests/test helper files... - just a pure "copy-paste" (I used the lib-updater tool, for the non-brand new tests) of the libraries. Used a mixture of the bash script I coded up + manual annotation to add expectedFailures/skips I used raise unittest.SkipTest or import_helper.import_module to skip test files which needed modules that were not implemented For the doctests, I skipped the tests, and added a big chunk at the top clarifying the specific lines of codes and errors that arose (many are simple wording changes) There were a couple trouble files where I commented out large chunks of code, because it wouldn't run otherwise; I just wanted to ask if there were any recommendations on better ways to fix the files in question (test_type_aliases.py + test_type_params.py. By reformatting annotations, it should make using the lib_updater easier to use (so only major changes are noted) A list of everything I added/updated (as well as some tests I had questions about) New files: * cjkencodings/ * crashers/ * leakers/ * regrtestdata/ * test_capi/ * test_gdb/ * test_interpreters/ * test_module/ * test_pydoc/ * test_sqlite3/ * test_tkinter/ * test_ttk/ * tkinterdata/ * tokenizedata/ * wheeldata/ * _test_embed_set_config.py * _test_embed_structseq.py * test_monitoring_shutdown.py * .ruff.toml * audit-tests.py * bisect_cmd.py * clinic.test.c * cov.py * curses_tests.py * dis_module.py * empty.vbs * levenshtein_examples.json * memory_watchdog.py * multibytecodec_support.py * profilee.py * pstats.pck * reperf.py * ssltests.py * test__interpchannels.py * test__interpreters.py * test__locale.py * test_asdl_parser.py * test_clinic.py * test_coroutines.py * test_cprofile.py * test_curses.py * test_dbm*.py * test_embed.py * test_extcall.py * test_fileutils.py * test_finalization.py * test_flufl.py * test_fork1.py * test_frame.py * test_frozen.py * test_gc.py * test_generator_stop.py * test_genexps.py * test_getpath.py * test_idle.py * test_imaplib.py * test_launcher.py * test_lltrace.py * test_metaclass.py * test_minidom.py * test_modulefinder.py * test_multibytecodec.py * test_osx_env.py * test_pdb.py * test_peepholer.py * test_pep646_syntax.py * test_poplib.py * test_profile.py * test_pstats.py * test_readline.py * test_sax.py * test_select.py * test_source_encoding.py * test_stable_abi_ctypes.py * test_startfile.py * test_strptime.py * test_tcl.py * test_threadsignals.py * test_tracemalloc.py * test_ttk_textonly.py * test_turtle.py * test_type_annotations.py * test_type_cache.py * test_unpack_ex.py * test_unparse.py * test_winconsoleio.py * test_winsound.py * test_zipimport_support.py Modified files: * test_dataclasses/ * test_importlib/ * test_zoneinfo/ * xmltestdata/ * test_except_star.py * test_lzma.py * test_struct.py * test_winapi.py Ignored files - I'm 90% sure I'm good to ignore it: * test_cext/ - Test C extensions * test_cppext/ - Test Cpp extensions * test_peg_generator/ - Parser Generator tests * test_xxlimited.py - CPython Internal tool * test_xxtestfuzz.py - CPython Internal tool * test_dict_version.py - Not importing per #5529 Ignored files - Bytecode/compilation specific files (please verify): * test_compiler_assemble.py * test_compiler_codegen.py Ignored files - Ignored because I'm completely unsure: * test_external_inspection.py * test_generated_cases.py * test_optimizer.py These are tests which were added, but are not notated on #5529. Please verify if they should be added: * test_free_threading/ - tests for multithreading * test_apple.py - Apple tests * test_codecencodings_.py - RustPython states that only utf-8 encoding is supported. Is this temporary? * test_codecmaps_.py - RustPython states that only utf-8 encoding is supported. Is this temporary? * test_monitoring.py * test_msvcrt.py - Windows tests * test_perfmaps.py * test_perf_profiler.py * test_termios.py - Termios is not mentioned in RustPython#5529 * test_type_aliases.py * test_type_params.py * test_wmi.py * win_console_handler.py
Open Graph Description: So I know I was told to make all the downgrading changes in one big PR. I have now also made all of the adding untracked tests in one big PR lmao. (Please let me know if I should create individual ...
X Description: So I know I was told to make all the downgrading changes in one big PR. I have now also made all of the adding untracked tests in one big PR lmao. (Please let me know if I should create individual ...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6775
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3dcc4c83-ec00-cfda-5eb9-3113bcef68f6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 80DA:248E17:217D13D:2ECFCEB:696F6B1D |
| html-safe-nonce | d1d89f633bc8fdba1e027c8d141ea9bed825b2e1d7c5a534dce08ce097995f03 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MERBOjI0OEUxNzoyMTdEMTNEOjJFQ0ZDRUI6Njk2RjZCMUQiLCJ2aXNpdG9yX2lkIjoiNjY3NzEzMzI4NzkwNTE1NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b56b695bcbb150ce6649104a5d07b415c4f6b5ed933285f4293eab5577dbb5d9 |
| hovercard-subject-tag | pull_request:3185148506 |
| 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/6775/files |
| twitter:image | https://avatars.githubusercontent.com/u/44815845?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/44815845?s=400&v=4 |
| og:image:alt | So I know I was told to make all the downgrading changes in one big PR. I have now also made all of the adding untracked tests in one big PR lmao. (Please let me know if I should create individual ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | dd6be7b30d2e12704d0d9723ad4a7950f9e3ad8461efc40b5411aad62e847a89 |
| 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 | 0bab932a9532ed9bc2e3e2614af9348ab39af6a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width