Commit Graph

12 Commits

Author SHA1 Message Date
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