Jeong, YunWon
3286e683e6
win32_xstat ( #5247 )
...
* win32_xstat
* vm::windows
* Add file_id
2024-04-21 22:02:09 +09:00
Jeong YunWon
367a948ff0
Adapt unittest.expectedFailureIf
2023-03-02 04:41:15 +09:00
Jeong YunWon
43b095f18d
mark failing test
2022-08-15 00:34:06 +09:00
CPython Developers
c05e9cd52d
Update tarfile from CPython 3.10.6
2022-08-15 00:34:06 +09:00
Jeong YunWon
a0f405afca
Remove expectedFailure mark from test_tarfile
2022-08-09 06:08:57 +09:00
Jeong Yunwon
e62fdd105c
fix windows CI
2022-07-26 04:03:00 +09:00
Jeong YunWon
2fbd01f23e
Fix surrogateescape_errors
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
54ae3bd962
Fix test.support imports
2022-02-12 18:36:31 -05:00
Padraic Fanning
576b08a124
Migrate requires_hashdigest() to helper
2022-02-06 16:53:09 -05: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
Dean Li
db212d80ff
os: implement os-error-str according to CPython
...
As was: "FileNotFoundError: [Errno 2] No such file or directory (os
error 2)"
To be: "FileNotFoundError: [Errno 2] No such file or directory (os
error 2): 'filename' -> 'filename2'"
Reference CPython implementation
```
if (self->filename) {
if (self->filename2) {
return PyUnicode_FromFormat("[Errno %S] %S: %R -> %R",
OR_NONE(self->myerrno),
OR_NONE(self->strerror),
self->filename,
self->filename2);
} else {
return PyUnicode_FromFormat("[Errno %S] %S: %R",
OR_NONE(self->myerrno),
OR_NONE(self->strerror),
self->filename);
}
}
if (self->myerrno && self->strerror)
return PyUnicode_FromFormat("[Errno %S] %S",
self->myerrno, self->strerror);
```
2021-11-03 17:30:28 +08:00
Padraic Fanning
d6257fb891
Mark erroring/failing tests on Windows
2021-05-21 19:19:35 -04:00
Padraic Fanning
72f0dfd7c4
Unmark passing tests for macOS and Windows
2021-05-21 19:19:35 -04:00
Padraic Fanning
94382ad5f7
Mark erroring/failing tests
2021-05-21 19:19:35 -04:00
Padraic Fanning
02f1d4d2d4
Skip test for infinite recursion
2021-05-21 19:19:35 -04:00
Padraic Fanning
00e0bfeb21
Add test_tarfile from CPython 3.8
...
Supporting files added:
- recursion.tar
- testtar.tar
- tokenize_tests.txt
- tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
- zipdir.zip
2021-05-21 19:19:34 -04:00