53 Commits

Author SHA1 Message Date
Ashwin Naren
396df1a506 update test_listcomps.py to 3.12.8 2025-01-19 20:05:35 -08:00
Ashwin Naren
16d8bab61a Update Logging to 3.12.7 (#5478)
* updated logging to 3.12, added logging tests, and added smtplib and tests

* fix expected failures on test_smtplib.py

* mark all rustpython fails on test_logging.py
2025-01-17 19:44:06 +09:00
Ashwin Naren
2d83a67bd6 Update zlib from 3.12.6 and _ZlibDecompressor implementation (#5476)
* add is_s390x and skip_on_s390x to test support

* update zlib tests to 3.12

* _ZlibDecompressor implementation
2025-01-16 13:28:09 +09:00
0cf4534c5c copy new file "Lib/test/support/testcase.py" for test_float.py
Some checks failed
CI / Run rust tests (macos-latest) (pull_request) Has been cancelled
CI / Run rust tests (windows-latest) (pull_request) Has been cancelled
CI / Ensure compilation on various targets (pull_request) Has been cancelled
CI / Run snippets and cpython tests (macos-latest) (pull_request) Has been cancelled
CI / Run snippets and cpython tests (ubuntu-latest) (pull_request) Has been cancelled
CI / Run snippets and cpython tests (windows-latest) (pull_request) Has been cancelled
CI / Check Rust code with rustfmt and clippy (pull_request) Has been cancelled
CI / Run tests under miri (pull_request) Has been cancelled
CI / Check the WASM package and demo (pull_request) Has been cancelled
CI / Run snippets and cpython tests on wasm-wasi (pull_request) Has been cancelled
CI / Run rust tests (ubuntu-latest) (pull_request) Has been cancelled
2024-12-05 15:29:35 +09:00
Ricardo Robles
b5c1fd95dc Add zoneinfo from Python 3.12.6 (#5400) 2024-09-19 11:18:48 +09:00
Jeong YunWon
8ed79bd1af add a dummy parameter for support.skip_if_sanitizer 2024-07-28 20:24:15 +09:00
NakanoMiku
f519ffdb18 Add asynchat.py and asyncore.py from CPython v3.12.0 2023-12-24 04:11:04 +08:00
ChenyG
4d6a180638 Update ast, test_ast from CPython 3.12.0 (#5121) 2023-11-23 23:06:12 +09:00
Jeong, YunWon
af884cb284 First step for Python 3.12 support (#5078)
* Mark 3.12

* Update importlib from Python 3.12.0

* Update test_importlib from Python3.12

* Mark failings tests from importlib

* Update test.support from Python3.12

* Fix unsupported parser feature

* mark failing test

* Update functools from Python 3.12

* manual type annotation

* slice behavior changed in 3.12

* empty unittest.main returns non-zero

* test_decimal from CPython 3.12

* Mark failing tests

* Update test_unicode from CPython 3.12

* Update test_functools from Python 3.12

* Update enum from Python 3.12

* enum

* Doc format changed

* Update test_module from CPython

---------

Co-authored-by: CPython developers <>
2023-10-22 19:19:05 -07:00
CPython Devleopers
c48fe567f7 Update test.support from CPython 3.11.2 2023-02-24 01:16:22 +09:00
CPython developers
531c42cae9 Update test.support from CPython 3.10.5 2022-07-25 04:10:59 +09:00
Dean Li
29c953d9a6 test: update test.support and test_io to 3.10
Initially this is only meant to be a small update for `test_io.py`.
But it turns out that `test.support` need a lot of cleanup especially
for `test.support.warnings_helper`.
2022-04-18 22:50:55 +08:00
Padraic Fanning
ef1048757e Migrate threading functions and class to helper 2022-02-13 17:27:07 -05:00
Padraic Fanning
e41f43d3bd Add CPython 3.10's test/support/threading_helper 2022-02-13 16:44:23 -05:00
Padraic Fanning
92ab0a4525 Migrate constants and functions to helper 2022-02-12 19:44:10 -05:00
Padraic Fanning
ab556e2811 Add test/support/socket_helper from CPython 3.10 2022-02-12 19:37:44 -05:00
Jeong YunWon
db788936c6 Merge pull request #3547 from fanninpm/test-support-os-helper
Align test/support/os_helper with CPython 3.10
2022-02-13 09:36:22 +09:00
Padraic Fanning
a7dd8b0826 Migrate constants and functions to helper 2022-02-12 16:00:51 -05:00
Padraic Fanning
7c585041ed Remove copy method (not in CPython 3.10)
Per @deantvv's request.
2022-02-12 15:29:31 -05:00
Jeong YunWon
617a820877 Merge pull request #3549 from fanninpm/test-support-testresult
Update test/support/testresult to CPython 3.10
2022-02-12 11:20:56 +09:00
Padraic Fanning
30c7932738 Update test/support/testresult to CPython 3.10 2022-02-10 22:05:06 -05:00
Padraic Fanning
5287a99ca9 Update test/support/script_helper to CPython 3.10 2022-02-10 21:50:58 -05:00
Padraic Fanning
e0460235db Align test/support/os_helper with CPython 3.10 2022-02-10 21:40:08 -05:00
Jeong YunWon
61f8068082 Merge pull request #3545 from fanninpm/test-support-importlib-helper
Align test/support/import_helper with CPython 3.10
2022-02-10 19:32:07 +09:00
Padraic Fanning
b464ac294f Align test/support/import_helper with CPython 3.10 2022-02-08 17:37:37 -05:00
Padraic Fanning
576b08a124 Migrate requires_hashdigest() to helper 2022-02-06 16:53:09 -05:00
Padraic Fanning
2740675228 Add test/support/hashlib_helper from CPython 3.10 2022-02-06 16:46:48 -05:00
Padraic Fanning
d51e253c84 Add test/support/warnings_helper from CPython 3.9 2022-02-05 13:48:52 -05:00
Dean Li
45d02859cb import_helper: refactor frozen_modules
`frozen_modules` requires non-trivial changes in import (`imp.rs`)
and from the doc it is deprecated since 3.3 which makes this feacture
unlikely to be support on this project.
So instead of implementing this feature, I make `frozen_modules` to
raise exception if `frozen` is required. Other than that, all implementation
is just like the upstream version (except one TODO comment to remind
us there is something not fully supported)
2021-12-01 20:06:38 +08:00
Dean Li
6f98288e84 test: use import_helper 2021-11-29 21:03:02 +08:00
Dean Li
c2baf11119 test: move import_helper out 2021-11-29 21:01:35 +08:00
Dean Li
be3f3412e1 os_helper: add XXX RUSTPYTHON back 2021-11-28 22:42:03 +08:00
Dean Li
2b89992d3f test: move os_helper out as py3.10 2021-11-28 20:51:32 +08:00
Jeong YunWon
913b78ca44 Revert "Merge pull request #3433 from deantvv/test-update"
This reverts commit 9fa5c5ac66, reversing
changes made to e7fa32c687.
2021-11-17 17:06:51 +09:00
Dean Li
4bcf317fba test: move os_helper out as py3.10 2021-11-13 02:18:33 +00:00
Dean Li
de4c0363bd test: update support.wait_process from py3.10 2021-11-06 21:04:13 +08:00
Dean Li
7155decd1f Add os in detect requires environment script 2021-04-04 22:45:15 +08:00
Noah
606d8196b6 Skip some importlib tests on windows + fix weird errors, hopefully? 2020-11-02 12:42:44 -06:00
Árni Dagur
da2bd5ea86 Implement math.ulp 2020-10-21 23:41:47 +00:00
Noah
0d16f983b7 Try fix unlink() on windows 2020-09-19 00:20:51 -05:00
Noah
1d2043558f Try fixing sock and windows tests 2020-09-19 00:20:50 -05:00
Noah
dabc4fd402 Update test.support and test.test_venv to versions from CPython 3.8.3 2020-09-18 23:56:09 -05:00
Youngchan Lee
e2e514a060 Mark unsupported tests in test_complex 2020-08-15 17:42:18 +09:00
Bolun Thompson
0161b98082 Mark expected failures for the venv tests 2020-07-31 19:32:01 -07:00
Noah
b1aa11bf9e Uncomment some things that were dependent on proper subprocess 2020-06-21 16:47:41 -05:00
Noah
3a8daf1966 Fix thread tests a bit 2020-05-23 18:47:29 -05:00
CPython dev
40451bba6b Bump up test.support to CPython 3.8.2 2020-04-07 14:36:41 +09:00
Jeong YunWon
bef41298a9 Allow import zipfile 2020-03-15 11:00:23 +09:00
Aviv Palivoda
92d0f05242 Mark unsupported tests 2020-03-06 10:46:29 +02:00
Aviv Palivoda
88c477fb6c Fix CR comments 2019-12-30 21:31:36 +02:00