summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cmath.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-101-1/+1
|
* remove the svn:executable property from files that don't have shebang linesBenjamin Peterson2010-03-051-0/+0
|
* Remove unused imports in test modules.Georg Brandl2010-02-071-1/+0
|
* Issue #7554: Various fixups in test_cmath.py: remove code duplication,Mark Dickinson2009-12-201-63/+50
| | | | use new-style formatting. Thanks Florent Xicluna for the patch.
* Fix for consistency with py3k keyword-only version of assertAlmostEqualMark Dickinson2009-12-201-4/+4
|
* Issue #7554: Fix incorrect usage of rAssertAlmostEqual. Thanks Florent ↵Mark Dickinson2009-12-201-2/+2
| | | | Xicluna.
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-28/+28
|
* I finally got the time to update and merge Mark's and my trunk-math branch. ↵Christian Heimes2008-04-181-22/+314
| | | | | | The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math. The patch also adds acosh, asinh, atanh, log1p and copysign to all platforms. Finally it fixes differences between platforms like different results or exceptions for edge cases. Have fun :)
* Patch #1675423: PyComplex_AsCComplex() now tries to convert an objectGeorg Brandl2007-03-171-51/+195
| | | | | | | to complex using its __complex__() method before falling back to the __float__() method. Therefore, the functions in the cmath module now can operate on objects that define a __complex__() method. (backport)
* Patch #826074: cmath.log optional base argument, fixes #823209Raymond Hettinger2004-06-141-2/+19
| | | | (Contributed by Andrew Gaul.)
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+1
| | | | 'verify' iff it's used by a test module...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-16/+16
|
* Very very small comment change.Roger E. Masse1996-12-201-1/+1
|
* Many scripts, but small changes. Update the way the scripts obtain theRoger E. Masse1996-12-201-16/+29
| | | | | | | | | | | | | | | | 'verbose' flag ala GvR updated test harness architecture. Old way: verbose = 0 if __name__ == '__main__': verbose = 1 New way: from test_support import verbose Some other small readablility and functionality updates.
* New test module for complex math moduleRoger E. Masse1996-12-091-0/+22