summaryrefslogtreecommitdiffstats
path: root/00150-disable-rAssertAlmostEqual-cmath-on-ppc.patch
diff options
context:
space:
mode:
authorMiro Hrončok <miro@hroncok.cz>2016-08-09 12:36:16 +0200
committerMiro Hrončok <miro@hroncok.cz>2016-09-26 10:20:04 +0200
commite32ce18e762bfad63a243fa6dcb192b3e5ae9588 (patch)
tree52df28be6fe15714554555c8bc772cb67f167dbc /00150-disable-rAssertAlmostEqual-cmath-on-ppc.patch
parentf5845b442d5e3c252df4de7d56bbafe3e8737613 (diff)
downloadpython34-e32ce18e762bfad63a243fa6dcb192b3e5ae9588.tar.gz
python34-e32ce18e762bfad63a243fa6dcb192b3e5ae9588.tar.xz
python34-e32ce18e762bfad63a243fa6dcb192b3e5ae9588.zip
Initial import of Fedora 23 package
Diffstat (limited to '00150-disable-rAssertAlmostEqual-cmath-on-ppc.patch')
-rw-r--r--00150-disable-rAssertAlmostEqual-cmath-on-ppc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/00150-disable-rAssertAlmostEqual-cmath-on-ppc.patch b/00150-disable-rAssertAlmostEqual-cmath-on-ppc.patch
new file mode 100644
index 0000000..73b6356
--- /dev/null
+++ b/00150-disable-rAssertAlmostEqual-cmath-on-ppc.patch
@@ -0,0 +1,11 @@
+diff -up Python-3.2.2/Lib/test/test_cmath.py.ppc Python-3.2.2/Lib/test/test_cmath.py
+--- Python-3.2.2/Lib/test/test_cmath.py.ppc 2011-12-07 23:43:55.000000000 +0100
++++ Python-3.2.2/Lib/test/test_cmath.py 2011-12-07 23:49:44.000000000 +0100
+@@ -95,6 +95,7 @@ class CMathTests(unittest.TestCase):
+ self.assertFloatIdentical(x.real, y.real)
+ self.assertFloatIdentical(x.imag, y.imag)
+
++ @unittest.skip('Known failure on PPC: glibc bug https://bugzilla.redhat.com/show_bug.cgi?id=750811')
+ def rAssertAlmostEqual(self, a, b, rel_err = 2e-15, abs_err = 5e-323,
+ msg=None):
+ """Fail if the two floating-point numbers are not almost equal.