19 Commits

Author SHA1 Message Date
Ankit Goel
8066f36a4e Fix copysign behavior for NaNs (#5396) 2024-09-11 15:19:21 +09:00
Dan Näsman
2335ca0f72 Add proper underscore handling to float and complex types. (#5356) 2024-07-28 12:11:34 +09:00
Alin-Ioan Alexandru
3eda1cf3b4 Deprecation warning fix for __complex__ (#5152) 2024-01-25 14:54:06 +09:00
kenny the :/
aaae566231 Raise error on power with negative number (#5143) 2024-01-12 21:16:53 +09:00
NakanoMiku
07f013dae2 Edit test_complex.py
ExpectedFailures added
2023-11-30 20:07:44 +08:00
NakanoMiku
fa3eae677d Update test_complex.py from CPython v3.12.0 2023-11-30 20:06:24 +08:00
jinnarajin
919a2fbfda update test_complex.py from cpython 3.11.2 2023-03-25 15:47:59 +09:00
d1t2
63b91a42c3 Fix wrong complex repr() for -0.0
Test: assert repr(complex('-0.0')) == '(-0+0j)'
2022-03-13 13:50:03 +08:00
snowapril
3c64486431 Update test_complex.py to cpython 3.10 2022-02-18 17:46:10 +09: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
Chris Moradi
6af6bfdab7 Fix repr for complex numbers involving NaN 2021-10-05 10:25:49 -07:00
carbotaniuman
0388dac94a Remove todos from tests 2020-11-19 08:46:09 -06:00
carbotaniuman
2b0c7f85f6 Return same object if exact type in int, float, complex 2020-11-17 12:52:27 -06:00
carbotaniuman
d76cb3b365 Fix float power and complex division 2020-11-16 13:49:16 +09:00
Árni Dagur
ab444d0a3e Correct value of sys.float_info.min 2020-10-22 18:30:51 +00:00
Youngchan Lee
e2e514a060 Mark unsupported tests in test_complex 2020-08-15 17:42:18 +09:00
Youngchan Lee
ed80407782 Copy test_complex.py from cpython 3.8.5 2020-08-15 17:17:39 +09:00