48 Commits

Author SHA1 Message Date
Jeong YunWon
52695a9ece Skip tests to avoid slot bug 2024-05-09 15:20:38 +09:00
CPython Developers
a20ce951e7 Update pathlib from CPython v3.12.3 2024-05-09 15:20:25 +09:00
Jeong, YunWon
5c527c2a28 Fix shutil test_copy_dir 2024-04-19 22:04:22 +09:00
threeifbyair
9d711c805a Ensure ScandirIterator does not leak file handles under Unix-like systems (#4307)
* Ensure ScandirIterator does not leak file handles under Unix-like systems.
2023-01-04 13:18:32 +02:00
Jeong YunWon
0181e2b380 io.text_encoding return utf-8 for RustPython for now 2022-08-15 04:54:01 +09:00
Jeong YunWon
49ff3cb8b7 mark failing tests from test_pathlib 2022-08-15 04:54:01 +09:00
CPython Developers
de6d103875 Update pathlib from CPython 3.10.6 2022-08-15 04:54:01 +09:00
Padraic Fanning
54ae3bd962 Fix test.support imports 2022-02-12 18:36:31 -05:00
Dean Li
6f98288e84 test: use import_helper 2021-11-29 21:03:02 +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
49a5805d11 test: use os_helper 2021-11-13 02:18:33 +00:00
Noah
4d03383e6c Unskip tests 2021-05-21 17:38:51 -05:00
Dean Li
15427a26a5 os: Fix DirEntry is_file and is_dir function
Change `perform_on_metadata` to fit python document and tests.

From python document ->
> Return True if this entry is a directory or a symbolic link pointing to a directory;
> return False if the entry is or points to any other kind of file, or if it doesn’t exist anymore.
> ...
> This method can raise OSError, such as PermissionError, but FileNotFoundError is caught and not raised.
> - [python doc](https://docs.python.org/3/library/os.html?highlight=direntry#os.DirEntry.is_dir)
2021-05-16 12:36:17 +08:00
Noah
42d4c81369 Unskip tests 2021-04-27 08:15:13 -05:00
Padraic Fanning
128bf209ed Unskip tests in test_pathlib 2021-02-25 22:15:04 -05:00
Padraic Fanning
3c444939dc Explain test_handling_bad_descriptor skip 2021-02-09 11:31:16 -05:00
Padraic Fanning
27030ec936 Disable test_handling_bad_descriptor skip (temp) 2021-02-09 11:02:48 -05:00
Padraic Fanning
3319ccd309 Comment on test_handling_bad_descriptor skip 2021-02-07 15:49:43 -05:00
Padraic Fanning
2a2d1315ff Unskip test_rglob 2021-02-07 15:49:43 -05:00
Padraic Fanning
a6ace5f584 Unskip test_glob 2021-02-07 15:49:43 -05:00
Padraic Fanning
5c4f68b12c Unskip test_touch_mode 2021-02-07 15:49:43 -05:00
Padraic Fanning
33b54dabdc Unskip test_open_mode 2021-02-07 15:49:42 -05:00
Padraic Fanning
c2ddd47b2a Explain test_pickling_common skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
2896f95b0d Explain test_is_char_device_true skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
c4dc1b20ff Explain test_is_char_device_false skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
819b95c547 Explain test_is_block_device_false skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
8ce1b8bca4 Explain test_is_socket_true skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
2666453e51 Explain test_is_socket_false skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
5d1eb9cda2 Explain test_is_fifo_true skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
94132fd187 Explain test_is_fifo_false skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
9fda0ada2f Explain test_is_symlink skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
08479d9397 Explain test_is_mount skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
5683c73277 Explain test_is_file skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
c6e4f95faf Explain test_is_dir skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
72590a06a1 Unskip test_touch_nochange 2021-02-07 15:49:42 -05:00
Padraic Fanning
593cabe579 Explain test_touch_common skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
4d5b28ed74 Explain test_rglob_common skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
5e52b4d134 Explain test_glob_common skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
0c271b4963 Unskip test_read_write_text 2021-02-07 15:49:42 -05:00
Padraic Fanning
d3f137818d Unskip test_read_write_bytes 2021-02-07 15:49:42 -05:00
Padraic Fanning
0f1aa00e4b Unskip test_open_common 2021-02-07 15:49:42 -05:00
Padraic Fanning
7e0af13c87 Explain test_exists skip 2021-02-07 15:49:42 -05:00
Padraic Fanning
80c68bcc44 Explain test_pickling_common skip 2021-02-07 15:49:42 -05:00
Noah
b30ca99a09 Implement string interning 2020-11-08 21:35:04 -06:00
Aviv Palivoda
5e52c7174e Skip test_handling_bad_descriptor 2020-04-18 17:01:13 +03:00
Aviv Palivoda
709010f80c Mark unsupported tests 2020-04-18 17:01:13 +03:00
Aviv Palivoda
f78ef86c8d Add test_pathlib from CPython 3.8 2020-04-18 17:00:26 +03:00