85 Commits

Author SHA1 Message Date
Noa
fbd0c7a99e Implement IncrementalNewlineDecoder in rust 2024-11-14 23:06:53 -06:00
Moreal
959e7c11ce Unmark fixed tests 2024-04-15 16:22:53 +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
Ankit Kumar Pandey
f0db8329be rename os module's exit function to _exit as thats how it is defined in cpython (#4887) 2023-04-22 05:22:18 +09:00
Jeong YunWon
367a948ff0 Adapt unittest.expectedFailureIf 2023-03-02 04:41:15 +09:00
Jeong YunWon
7492b46c43 mark success/fail tests for test_import 2023-02-25 22:59:57 +09:00
CPython Developers
496006d629 Update importlib from CPython 3.11.2 2023-02-25 22:59:57 +09:00
yt2b
253fcfb6c4 Remove the decorators 2022-12-25 13:29:33 +09:00
Jeong YunWon
9a40c87dbd mark hanging/failing tests 2022-08-18 03:22:20 +09:00
Jeong YunWon
47dbafe7d3 @writes_bytecode_files to skip
https://github.com/python/cpython/pull/95972
2022-08-18 03:22:20 +09:00
CPython Developers
da109336bb Update importlib/test_importlib from CPython 3.10.6 2022-08-18 03:22:20 +09:00
Jeong YunWon
3efa141378 change partial failing markers to skip in test_importlib 2022-08-15 20:09:34 +09:00
Padraic Fanning
c8748bc98e Fix test.support imports 2022-02-13 17:56:08 -05:00
Dean Li
6f98288e84 test: use import_helper 2021-11-29 21:03:02 +08:00
Dean Li
cad10fedd4 test: update importlib 2021-11-28 20:51:34 +08:00
Dean Li
5ee4fb899b test: use os_helper 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
a1202f5602 test: update importlib 2021-11-13 14:21:59 +08:00
Dean Li
49a5805d11 test: use os_helper 2021-11-13 02:18:33 +00:00
Dean Li
a59556ad25 Refactor OSError
Implement `raw_os_error_to_exc_type` to reduce duplication of errno to
exception type.
2021-10-30 17:05:54 +08:00
Padraic Fanning
bab6f75016 Clean up skips in test_importlib.source 2021-10-18 21:56:47 -04:00
Padraic Fanning
5d4faf0ccf Skip tests that sometimes hang the CI
Tested with `act`.
2021-08-19 00:42:35 +09:00
Padraic Fanning
44d10c7e1e Skip flaky test in test_importlib/test_locks 2021-07-10 19:21:08 -04:00
Noah
c2d4d7380a Unskip tests 2021-05-13 19:46:17 -05:00
Noah
501c555c54 Unskip tests 2021-04-11 17:38:44 -05:00
Padraic Fanning
18491e7bb8 Unskip tests in test_importlib.test_util
WARNING: Contains a monkeypatch to accomodate differential testing
behavior.
2021-02-25 20:18:39 -05:00
Padraic Fanning
febed3b28c Unskip tests in test_importlib.test_read 2021-02-25 17:38:37 -05:00
Padraic Fanning
e51699d9ee Unskip tests in test_importlib.test_open 2021-02-25 17:37:34 -05:00
Padraic Fanning
b8a9f5509c Unskip tests in test_importlib.test_lazy 2021-02-25 17:36:07 -05:00
Padraic Fanning
34e3514cc4 Unskip tests in test_importlib.test_abc 2021-02-25 17:33:53 -05:00
Padraic Fanning
4457de08ab Unskip tests in source.test_source_encoding 2021-02-25 17:31:06 -05:00
Padraic Fanning
1bebcb9ae9 Unskip test(s) in source.test_finder 2021-02-25 17:27:37 -05:00
Padraic Fanning
4b2c5af995 Unskip tests in source.test_file_loader 2021-02-25 17:25:59 -05:00
Padraic Fanning
0303a29843 Unskip tests in import_.test_meta_path 2021-02-25 17:23:44 -05:00
Padraic Fanning
f3a02ec35b Unskip tests in import_.test_caching 2021-02-25 17:21:19 -05:00
Padraic Fanning
69df285a82 Unskip tests in frozen.test_loader 2021-02-25 17:18:33 -05:00
Padraic Fanning
87b966ecf3 Unskip tests in extension.test_loader 2021-02-25 17:14:32 -05:00
Padraic Fanning
4370147bbe Unskip test_resource_path 2021-02-07 15:49:42 -05:00
Padraic Fanning
ee78b87159 Unskip test_resource_opener 2021-02-07 15:49:42 -05:00
Padraic Fanning
1c9b36c781 Unskip test_importing_module_as_side_effect 2021-02-07 15:49:42 -05:00
Padraic Fanning
c185a387de Unskip test_string_path 2021-02-07 15:49:42 -05:00
Padraic Fanning
76e230a470 Unskip test_package_object 2021-02-07 15:49:42 -05:00
Padraic Fanning
3296aa5112 Unskip test_package_name 2021-02-07 15:49:42 -05:00
Padraic Fanning
8beba0f4ef Explain test_incorporates_rn "skip" 2021-02-07 15:49:42 -05:00
Padraic Fanning
f4d440efab Explain DecodeSourceBytesTests skip(s) 2021-02-07 15:49:42 -05:00
Padraic Fanning
f4ea821cb6 Unskip ResourceLoaderTests 2021-02-07 15:49:42 -05:00
Padraic Fanning
7341671bd2 Explain test_read_text_with_errors skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
e55eb7ce8a Explain test_read_text_given_encoding skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
c05304d8de Unskip test_read_text_default_encoding 2021-02-07 15:49:42 -05:00
Padraic Fanning
89097488ae Unskip test_reading 2021-02-07 15:49:42 -05:00