Commit Graph

1968 Commits

Author SHA1 Message Date
Tetramad
c88c69a993 Fix math.log1p to pass some failed tests
Now math.log1p with less than or equal to negative one should raise
ValueError with "math domain error" message
2021-10-25 14:44:13 +09:00
Tetramad
3d8f6cf08d Fix math.log to pass some failed tests
Now math.log with less than or equal to zero should raise ValueError
with "math domain error" message if `x` fit in f64
2021-10-25 14:44:08 +09:00
Tetramad
ba3cafc932 Fix math.atanh to pass failed tests
Now math.atanh with out of domain value should raise ValueError with
"math domain error" message
2021-10-25 10:45:11 +09:00
Jeong YunWon
b0795e89f7 Merge pull request #3370 from deantvv/test-posix-reason
test: posix update failure reason
2021-10-24 19:53:38 +09:00
Dean Li
46c38c09d2 test: posix update failure reason 2021-10-24 18:05:19 +08:00
Dean Li
91256a4ec6 posix: add rtld constants 2021-10-24 17:53:49 +08:00
Padraic Fanning
9fdd76c1dd Delete partial causing custom runner failure 2021-10-22 18:16:47 -04:00
Jim Fasarakis-Hilliard
7d1f75dd2f Merge pull request #3351 from Snowapril/fix-generic-alias
Add missing methods on `GenericAlias`
2021-10-22 16:32:18 +03:00
snowapril
92b81e5dd8 update some test in test_typing from cpython 3.10
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-22 18:43:15 +09:00
snowapril
48d6ba154f add decorators on failed tests
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-22 18:43:15 +09:00
snowapril
b2eff4ae53 add missing __class_getitem__ from cpython 3.10
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-22 18:43:15 +09:00
snowapril
f491bb8fc4 commented out on missing module in rustpython
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-22 18:43:15 +09:00
snowapril
4a3dab0b41 add test_genericalias.py from cpython 3.10
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-22 18:43:15 +09:00
jfh
2299878395 Mark failing resourse tests. 2021-10-22 10:33:18 +03:00
jfh
9ab71fee02 Add test_resource from Python 3.8 2021-10-22 10:29:30 +03:00
jfh
103195b277 Remove Python gc stub, add rust stub. 2021-10-21 19:56:20 +03:00
Jeong YunWon
fd2ba5159e Merge pull request #3204 from fanninpm/cleanup-skipped-tests
Clean up some skipped tests
2021-10-21 02:39:15 +09:00
Jeong YunWon
82fac6ce53 Merge pull request #3263 from Snowapril/suggestion
Implement keyword suggestion on `PyAttributeError` and `PyNameError` from cpython 3.10
2021-10-21 02:30:46 +09:00
Jeong YunWon
5ce05fcca0 Merge pull request #3330 from deantvv/uid-gid-from-object
posix: handle case -1 for `Uid` and `Gid`
2021-10-21 01:43:52 +09:00
Jeong YunWon
946f4ecc89 Merge pull request #3334 from DimitrisJim/namespace_fixes
Namespace fixes
2021-10-21 01:35:04 +09:00
Jeong YunWon
a83ad7aa1c Merge pull request #3337 from deantvv/fix-os-putenv
os: fix putenv
2021-10-21 01:33:37 +09:00
Dean Li
c56db2fafa os: fix putenv
Check key and value before calling `env::set_var`

From doc of `env::set_var`,
```

This function may panic if `key` is empty, contains an ASCII equals sign
`'='` or the NUL character `'\0'`, or when the value contains the NUL
character.
```
2021-10-20 23:15:39 +08:00
Dean Li
86920e21e5 posix: handle case -1 for Uid and Gid
For `Uid` and `Gid`, -1 means does not change the value.
2021-10-20 22:23:36 +08:00
snowapril
1bff6a38d1 add decorators on failed tests
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-20 10:19:42 +09:00
snowapril
8d0cefeb64 update test_exceptions.py from cpython 3.10 for suggestion feature
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-20 10:19:42 +09:00
Padraic Fanning
253ecda09e Clean up skips in test_unittest 2021-10-19 20:37:35 -04:00
jfh
c6a8511425 Add repr for namespaces. 2021-10-19 16:29:41 +03:00
jfh
809171dcf8 Make namespaces comparable. 2021-10-19 16:29:41 +03:00
Padraic Fanning
e5acfc3a67 Clean up skip in test_json.test_speedups 2021-10-18 22:09:36 -04:00
Padraic Fanning
05f3ef557b Clean up skip in test_json.test_decode 2021-10-18 22:09:17 -04:00
Padraic Fanning
bab6f75016 Clean up skips in test_importlib.source 2021-10-18 21:56:47 -04:00
Padraic Fanning
dd4adf976e Clean up skip in test_zipfile 2021-10-18 21:43:54 -04:00
Padraic Fanning
3d1f88417e Clean up skip in test_types 2021-10-18 21:15:18 -04:00
Padraic Fanning
8f8499283d Clean up skips in test_trace 2021-10-18 21:08:58 -04:00
Padraic Fanning
937054b1c9 Clean up skips in test_time 2021-10-18 20:34:35 -04:00
Padraic Fanning
7ba6d607fb Clean up skip in test_thread 2021-10-18 19:41:22 -04:00
Jeong YunWon
7bcf2c3e39 Merge pull request #3014 from leesungbin/underscore_grammar
Solve some lexical error with underscore
2021-10-19 08:37:03 +09:00
Padraic Fanning
24dd039b47 Clean up skips in test_sys 2021-10-18 19:18:59 -04:00
Noa
4087fa1d6e Unmark passing tests 2021-10-17 21:55:34 -05:00
Noa
0093a1948f Don't compile badsyntax_ files for freeze-stdlib 2021-10-17 21:55:34 -05:00
Noa
b2c3a62b91 Add test.badsyntax_pep3120 from CPython 3.9 2021-10-17 21:55:34 -05:00
Noa
2291ddcb02 Mark some ui tests as failing 2021-10-17 21:55:34 -05:00
Noa
06343e2b6e Add test_future.py and associated files from CPython 3.9 2021-10-17 21:55:34 -05:00
Noa
78ef88b92a Update __future__.py to 3.10 2021-10-17 21:55:28 -05:00
Noa
44d86c7de9 Update ast.py to CPython 3.9 2021-10-17 21:54:52 -05:00
Padraic Fanning
ff265ea705 Clean up skip in test_super 2021-10-17 22:24:53 -04:00
Padraic Fanning
be46e58320 Clean up skips in test_subprocess 2021-10-17 21:28:18 -04:00
Padraic Fanning
fdc74a12ed Fix Linux CI failure in test_posixpath 2021-10-17 21:06:34 -04:00
Padraic Fanning
498f9e8cf9 Fix macOS CI failure in test_posixpath 2021-10-17 20:00:02 -04:00
Padraic Fanning
666c170729 Clarify skip in test_strtod 2021-10-17 19:23:16 -04:00