Commit Graph

1009 Commits

Author SHA1 Message Date
Noah
d8d979a420 Skip/unskip some tests on unix now 2021-04-27 08:15:13 -05:00
Noah
1feae7841f Fix stuff on windows 2021-04-27 08:15:13 -05:00
Noah
42d4c81369 Unskip tests 2021-04-27 08:15:13 -05:00
Noah
d969299de5 Always have fds represent the C RT's fds, even on windows 2021-04-27 08:15:12 -05:00
Jeong YunWon
94d5085f0f Merge pull request #2597 from fanninpm/test-pkg
Add test_pkg from CPython 3.8
2021-04-27 15:01:16 +09:00
Jeong YunWon
7526e03311 Merge pull request #2595 from fanninpm/test-ordered-dict
Add test_ordered_dict from CPython 3.8
2021-04-27 15:00:40 +09:00
Noah
d226cb818c Merge pull request #2594 from deantvv/os-open-args
os: Fix `open` keyword arguments
2021-04-26 09:06:25 -05:00
Dean Li
d99f4038e1 os: Fix open keyword arguments
Following code used to fail due to the way used to define
os.open in rust. To fix this, we need to use `FromArgs`
to define `struct OpenArgs {...}`.
```
f = os.open(path=__file__, flags=os.O_RDONLY, mode=0o777, dir_fd=None)
```

Noted that the original `open` is now rename to `os_open`
and is exported as `open`.

Related to #1175
2021-04-26 19:51:24 +08:00
Padraic Fanning
2a2695ced5 Add test_pkg from CPython 3.8 2021-04-25 12:59:12 -04:00
Padraic Fanning
b6151f4b7d Mark erroring/failing tests 2021-04-25 11:52:46 -04:00
Padraic Fanning
2cdeb2da4b Add test_ordered_dict from CPython 3.8 2021-04-25 11:52:45 -04:00
Jeong YunWon
0497a36994 Merge pull request #2590 from fanninpm/test-optparse
Add test_optparse from CPython 3.8
2021-04-25 23:41:00 +09:00
Jeong YunWon
cc122800f0 Merge pull request #2589 from fanninpm/test-openpty
Add test_openpty from CPython 3.8
2021-04-25 23:40:13 +09:00
Jeong YunWon
5939cdb423 Merge pull request #2587 from qingshi163/sre-cmp
impl sre Pattern compare
2021-04-25 23:38:42 +09:00
Robert Booth
55f2fa0a73 add test_range 2021-04-23 10:17:32 +09:00
Robert Booth
fa20c260d7 test_range from cpython [v3.8.7|✔] 2021-04-23 10:02:36 +09:00
Padraic Fanning
cfcb75875d Add test_optparse from CPython 3.8 2021-04-22 13:20:48 -04:00
Padraic Fanning
e2e4f44534 Add test_openpty from CPython 3.8 2021-04-22 12:35:43 -04:00
Kangzhi Shi
807acfeddd impl sre Pattern compare 2021-04-22 08:57:18 +02:00
Noah
c006f19f79 Merge pull request #2582 from fanninpm/test-ntpath
Add test_ntpath from CPython 3.8
2021-04-21 23:00:06 -05:00
Noah
f8e5be9351 Merge pull request #2572 from RustPython/fix-codecov
Fix remaining code coverage collection issues
2021-04-21 22:58:29 -05:00
Padraic Fanning
6761935deb Mark failing test 2021-04-21 22:12:34 -04:00
Padraic Fanning
920db1afd9 Add test_numeric_tower from CPython 3.8 2021-04-21 22:12:33 -04:00
Jeong YunWon
cb2f4d4dea Merge pull request #2575 from fanninpm/fix-test-py-compile-mac
Add extra check in test_py_compile for Big Sur and/or Apple Silicon
2021-04-22 10:59:18 +09:00
Padraic Fanning
878d755718 Mark erroring/failing tests on Windows 2021-04-21 21:28:44 -04:00
Padraic Fanning
84f13e1cb9 Change check to cover all releases of Big Sur 2021-04-21 21:15:10 -04:00
Padraic Fanning
d3d940cf1a Change check to cover all versions of Big Sur 2021-04-21 20:57:29 -04:00
Padraic Fanning
66b2c88011 Fix unexpected success for macOS and Windows 2021-04-21 20:33:48 -04:00
Noah
94caa958d5 Merge pull request #2580 from ishigoya/master
Change data chunk passing in Rust zlib compression
2021-04-21 18:59:45 -05:00
Padraic Fanning
b054181666 Mark erroring/failing tests 2021-04-21 19:35:39 -04:00
Padraic Fanning
ef583e84c3 Add test_ntpath from CPython 3.8 2021-04-21 19:35:38 -04:00
Noah
354f10900a Merge pull request #2570 from fanninpm/test-named-expressions
Rename test_named_expression to name in CPython
2021-04-21 16:08:39 -05:00
Noah
ad928c6068 Merge pull request #2571 from fanninpm/test-netrc
Add test_netrc from CPython 3.8
2021-04-21 16:06:49 -05:00
Robert Booth
ae815839e8 Change Rust zlib compression code for zlib tests
- decompress method: Amend error message
- Pass data chunks on a per-slice basis to compression API
2021-04-21 23:21:57 +09:00
Kangzhi Shi
b68c736d5f fix sre ExternalTests 2021-04-21 11:17:00 +02:00
Noah
631e17a630 Merge pull request #2576 from qingshi163/sreupdate
fix sre zerowidth search
2021-04-20 10:13:50 -05:00
Kangzhi Shi
7ab4e9573c fix sre zerowidth search 2021-04-20 10:21:16 +02:00
Noah
c88d935ca0 Fix remaining code coverage issues, hopefully 2021-04-19 23:03:16 -05:00
Padraic Fanning
0987f18502 Add extra check in test_py_compile
The test in question passes on Big Sur with Apple Silicon.
2021-04-19 22:47:26 -04:00
Noah
dc22d08d29 Merge pull request #2573 from qingshi163/sre-pattern-repr
impl Pattern __repr__
2021-04-19 08:24:31 -05:00
Kangzhi Shi
7085fed82c impl Pattern __repr__ 2021-04-19 09:15:17 +02:00
Padraic Fanning
33b6e09399 Skip test on Windows 2021-04-18 18:36:56 -04:00
Padraic Fanning
68576856a0 Mark erroring test in Windows 2021-04-18 18:09:39 -04:00
Padraic Fanning
0fa6e49225 Add test_netrc from CPython 3.8 2021-04-18 17:28:36 -04:00
Padraic Fanning
71ad75f19f Fail against error messages not found in CPython 2021-04-18 17:12:18 -04:00
Padraic Fanning
febf0949a0 Rename test_named_expression to name in CPython 2021-04-18 17:12:17 -04:00
Padraic Fanning
2764dd7b4d Unmark passing tests 2021-04-18 15:32:10 -04:00
Padraic Fanning
3d993a274a Mark erroring/failing tests 2021-04-18 14:44:37 -04:00
Padraic Fanning
b85c0b0e8b Add test_mimetypes from CPython 3.8
Adds mime.types as a supporting file
2021-04-18 14:44:36 -04:00
Noah
1c24d8b821 Merge pull request #2568 from fanninpm/test-memoryio
Add test_memoryio from CPython 3.8
2021-04-18 13:30:30 -05:00