Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
b357db885c8c20bf085d6b65892a618a51b4e1b0
/
Lib
/
test
/
test_complex.py
2623a37
Merged revisions 86596 via svnmerge from
by Ezio Melotti
· 15 years ago
aad57bd
Merged revisions 83400 via svnmerge from
by Mark Dickinson
· 15 years ago
4ca7c3c
Issue #8748: Fix incorrect results from comparisons between an integer
by Mark Dickinson
· 15 years ago
8133637
Issue #5211: Complete removal of implicit coercions for the complex
by Mark Dickinson
· 15 years ago
6257a7b
Replace catch_warnings with check_warnings when it makes sense. Use assertRaises context manager to simplify some tests.
by Florent Xicluna
· 15 years ago
f32d4ac
Issue #7988: Fix default alignment to be right aligned for complex.__format__. Now it matches other numeric types.
by Eric Smith
· 15 years ago
82b34c5
Issue #5211: Fix complex type to avoid implicit calls to
by Mark Dickinson
· 15 years ago
e3467d5
Remove e assertIs definitions and use correct assert* methods.
by Ezio Melotti
· 15 years ago
c4ab833
Issue #3382: Make '%F' and float.__format__('F') convert results to upper case. Much of the patch came from Mark Dickinson.
by Eric Smith
· 16 years ago
c04c7c5
Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
by Mark Dickinson
· 16 years ago
5c8da86
convert usage of fail* to assert*
by Benjamin Peterson
· 16 years ago
a4e0efa
Issue #5829: don't raise OverflowError for complex('1e500'). Backport of r72803.
by Mark Dickinson
· 16 years ago
a985a3a
Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson.
by Eric Smith
· 16 years ago
9139cc6
Issue #1588: Add complex.__format__.
by Eric Smith
· 16 years ago
0a6501b
Fix typo in complex parsing code; expand tests.
by Mark Dickinson
· 16 years ago
95bc980
Issue #5816:
by Mark Dickinson
· 16 years ago
80af6da
Fixed complex.__getnewargs__() to not emit another complex object.
by Alexandre Vassalotti
· 17 years ago
2f0da53
Fixed repr() and str() of complex numbers. Complex suffered from the same problem as floats but I forgot to test and fix them.
by Christian Heimes
· 17 years ago
105be77
Issue #1678380. Fix a bug that identifies 0j and -0j when they appear
by Mark Dickinson
· 18 years ago
715ec18
Patch # 1507 by Mark Dickinson. Make complex(x, -0) retain the sign of
by Guido van Rossum
· 18 years ago
e38051d
Patch #1491866: change the complex() constructor to allow parthensized forms. This means complex(repr(x)) now works instead of raising a ValueError.
by Collin Winter
· 18 years ago
9e28107
Test case for latest complexobject fix.
by Georg Brandl
· 20 years ago
c3647ac
Make subclasses of int, long, complex, float, and unicode perform type
by Brett Cannon
· 20 years ago
70aa1f2
Fix repr for negative imaginary part. Fixes #1013908.
by Martin v. Löwis
· 21 years ago
5301d9c
Remove useless import.
by Walter Dörwald
· 22 years ago
b27cca6
Check both __div__ and __truediv__ in division tests. (From SF patch #543867)
by Walter Dörwald
· 22 years ago
f393fc6
Add various test cases from SF patch 543867.
by Walter Dörwald
· 22 years ago
478c105
Whitespace normalization.
by Tim Peters
· 22 years ago
5edd785
Port test_complex.py to unittest.
by Walter Dörwald
· 22 years ago
408b6d3
Complete the absolute import patch for the test suite. All relative
by Barry Warsaw
· 23 years ago
7790297
test_support: add a docstring to vereq().
by Tim Peters
· 24 years ago
5a0f010
SF Patch #497487 add test to compare conjugate of a complex number
by Neal Norwitz
· 24 years ago
fc37af8
SF Patch #494873 add tests for complex numbers including calls to int()/long()
by Neal Norwitz
· 24 years ago
68773e7
Add a comment explaining what these tests are for, and where to look for
by Fred Drake
· 24 years ago
c5b235c
Reverting to rev 1.2. Apparently gcc doesn't use the extended-precision
by Tim Peters
· 24 years ago
419670d
Rewrite to use test_support's fine fcmp instead -- I didn't know that
by Tim Peters
· 24 years ago
0b76d3a
This division test was too stringent in its accuracy expectations for
by Tim Peters
· 24 years ago
0f33604
SF bug [ #409448 ] Complex division is braindead
by Tim Peters
· 24 years ago