]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - python3/patches/00164-disable-interrupted_write-tests-on-ppc.patch
perl: Rebuild against libdb
[people/amarx/ipfire-3.x.git] / python3 / patches / 00164-disable-interrupted_write-tests-on-ppc.patch
1 diff -up Python-3.3.0b1/Lib/test/test_exceptions.py.846849 Python-3.3.0b1/Lib/test/test_exceptions.py
2 --- Python-3.3.0b1/Lib/test/test_exceptions.py.846849 2012-06-26 22:19:47.000000000 +0200
3 +++ Python-3.3.0b1/Lib/test/test_exceptions.py 2012-08-13 17:41:28.845403486 +0200
4 @@ -401,6 +401,7 @@ class ExceptionTests(unittest.TestCase):
5 self.assertIsNone(e.__context__)
6 self.assertIsNone(e.__cause__)
7
8 + @unittest.skip('rhbz#846849')
9 def testChainingDescriptors(self):
10 try:
11 raise Exception()
12 diff -up Python-3.3.0b1/Lib/test/test_io.py.846849 Python-3.3.0b1/Lib/test/test_io.py
13 --- Python-3.3.0b1/Lib/test/test_io.py.846849 2012-06-26 22:19:48.000000000 +0200
14 +++ Python-3.3.0b1/Lib/test/test_io.py 2012-08-13 17:41:28.846403451 +0200
15 @@ -2938,12 +2938,15 @@ class SignalsTest(unittest.TestCase):
16 if e.errno != errno.EBADF:
17 raise
18
19 + @unittest.skip('rhbz#846849')
20 def test_interrupted_write_unbuffered(self):
21 self.check_interrupted_write(b"xy", b"xy", mode="wb", buffering=0)
22
23 + @unittest.skip('rhbz#846849')
24 def test_interrupted_write_buffered(self):
25 self.check_interrupted_write(b"xy", b"xy", mode="wb")
26
27 + @unittest.skip('rhbz#846849')
28 def test_interrupted_write_text(self):
29 self.check_interrupted_write("xy", b"xy", mode="w", encoding="ascii")
30
31 diff -up Python-3.3.0b1/Lib/test/test_raise.py.846849 Python-3.3.0b1/Lib/test/test_raise.py
32 --- Python-3.3.0b1/Lib/test/test_raise.py.846849 2012-08-13 17:42:16.719714213 +0200
33 +++ Python-3.3.0b1/Lib/test/test_raise.py 2012-08-13 17:43:02.544097272 +0200
34 @@ -151,6 +151,7 @@ class TestRaise(unittest.TestCase):
35
36 class TestCause(unittest.TestCase):
37
38 + @unittest.skip('rhbz#846849')
39 def testCauseSyntax(self):
40 try:
41 try:
42 diff -up Python-3.3.0b1/Lib/test/test_traceback.py.846849 Python-3.3.0b1/Lib/test/test_traceback.py
43 --- Python-3.3.0b1/Lib/test/test_traceback.py.846849 2012-08-13 17:44:19.714374275 +0200
44 +++ Python-3.3.0b1/Lib/test/test_traceback.py 2012-08-13 17:44:43.515534435 +0200
45 @@ -246,6 +246,7 @@ class BaseExceptionReportingTests:
46 self.check_zero_div(blocks[0])
47 self.assertIn('inner_raise() # Marker', blocks[2])
48
49 + @unittest.skip('rhbz#846849')
50 def test_context_suppression(self):
51 try:
52 try: