Blame 00150-disable-rAssertAlmostEqual-cmath-on-ppc.patch
|
Matej Stuchlik |
2c1c983 |
diff -up Python-3.2.2/Lib/test/test_cmath.py.ppc Python-3.2.2/Lib/test/test_cmath.py
|
|
Matej Stuchlik |
2c1c983 |
--- Python-3.2.2/Lib/test/test_cmath.py.ppc 2011-12-07 23:43:55.000000000 +0100
|
|
Matej Stuchlik |
2c1c983 |
+++ Python-3.2.2/Lib/test/test_cmath.py 2011-12-07 23:49:44.000000000 +0100
|
|
Matej Stuchlik |
2c1c983 |
@@ -95,6 +95,7 @@ class CMathTests(unittest.TestCase):
|
|
Matej Stuchlik |
2c1c983 |
self.assertFloatIdentical(x.real, y.real)
|
|
Matej Stuchlik |
2c1c983 |
self.assertFloatIdentical(x.imag, y.imag)
|
|
Matej Stuchlik |
2c1c983 |
|
|
Matej Stuchlik |
2c1c983 |
+ @unittest.skip('Known failure on PPC: glibc bug https://bugzilla.redhat.com/show_bug.cgi?id=750811')
|
|
Matej Stuchlik |
2c1c983 |
def rAssertAlmostEqual(self, a, b, rel_err = 2e-15, abs_err = 5e-323,
|
|
Matej Stuchlik |
2c1c983 |
msg=None):
|
|
Matej Stuchlik |
2c1c983 |
"""Fail if the two floating-point numbers are not almost equal.
|