26 Commits
Author SHA1 Message Date
youknowdotandCodex dc8ea56566 Update 16 stdlib test modules from CPython 3.15 (#9411)
* Update 16 stdlib test modules from CPython 3.15

Sync with scripts/update_lib migrate from CPython d220409a13b77de7a6c30abe16ea90db01528edc, preserving existing RustPython markers.

Assisted-by: Codex:GPT-6.1

* Limit SEND completion tracing to generators and coroutines

Match CPython INSTRUMENTED_END_SEND receiver semantics: other awaitables returning values must not synthesize caller StopIteration trace events. Preserve actual exceptions, builtin generator/coroutine completion and trampoline paths.

Assisted-by: Codex:GPT-6.1

---------

Co-authored-by: Codex <codex@openai.com>
2026-10-28 17:29:13 +09:00
Changjoon 29653b448e Update test_cmath.py from 3.14.4 (#7623) 2026-04-19 09:14:35 +09:00
Jeong, YunWon f9e2f9d273 Upgrade math,cmath to 3.14.2 and totally delegate to pymath (#6705)
* Upgrade test_math, test_cmath from 3.14.2

* pymath 0.1.5
2026-01-13 22:05:32 +09:00
ShaharNaveh 61bc6e8d1c Unmark passing tests 2025-08-23 23:21:19 +03:00
ShaharNaveh 6a232a8830 Update test_cmath.py from 3.13.7 2025-08-23 22:20:54 +03:00
NakanoMiku 460e9833f0 Edit Lib/test/test_cmath.py
ExpectedFailure added at line 628
2023-11-23 16:38:32 +08:00
NakanoMiku c8256c5450 Update Lib/test/test_cmath.py from CPython v3.12.0 2023-11-23 16:36:59 +08:00
jinnarajin c132c66ac6 update test_cmath.py from cpython 3.11.2 2023-03-25 16:17:32 +09:00
Rhee Jung In 36a2700e1b Fix cmath to handle some edge cases in complex number calculation (#3987)
* Fix: handle edge case for complex comparison, when both is both NaN+NaNj
* Fix: handle f64 overflow complex __abs__
2022-08-01 02:19:44 +09:00
Jeong YunWon cb87fa3562 Merge pull request #3228 from chrismoradi/fix-complex-repr-tests
Fix repr for complex numbers involving NaN
2021-10-07 23:37:56 +09:00
jfh ac40213a6a Restore test_cmath to original form. 2021-10-06 17:20:42 +03:00
Chris Moradi 911de9791a cmath test passes too 2021-10-05 10:56:55 -07:00
rishit khandelwal 1823dc09fa add asin and acos 2021-10-05 17:01:49 +05:30
Tony Jinwoo Ahn 8d3461d1bb Enable exp() for cmath test 2021-10-02 13:59:36 +09:00
Eric Hagman e3e4071a00 fix: remove custom tests from cmath 2021-10-01 10:52:34 -04:00
Eric Hagman 787f6c1be6 Merge remote-tracking branch 'upstream/main' into cmath-sinh-cosh 2021-10-01 10:00:09 -04:00
Eric Hagman 55be9547d7 feat: add sinh and cosh to cmath 2021-10-01 09:52:39 -04:00
lijm1358 438661dc44 Add atanh and atan to cmath 2021-10-01 01:19:43 +09:00
LeeBeomsu 59b707c2ac add asinh function to cmath
Signed-off-by: LeeBeomsu <dlqjatn2@gmail.com>
2021-09-30 21:46:25 +09:00
Tony Jinwoo Ahn 9de8511367 Add tan() and tanh() for cmath
Signed-off-by: Tony Jinwoo Ahn <tony.jinwoo.ahn@gmail.com>
2021-09-18 19:42:09 +09:00
Park Jiin cc739b4ccf Implement cmath.acosh 2021-09-18 14:50:55 +09:00
Connor Troy 14c9744050 Update test_cmath for log and log10 additions 2021-09-16 16:54:58 -06:00
Aaditya 97f9390308 Implemented sin and cos (#3056)
Implemented sin and cos
2021-09-14 22:01:33 +03:00
jfh 632f73b79a Allow sqrt to run some tests. 2021-09-14 04:40:54 +09:00
jfh 41f628a32a Skip failing tests. 2021-09-11 14:22:59 +03:00
jfh ec7386e1ff Add test_cmath from CPython 3.8. 2021-09-10 22:49:19 +03:00