Skip to content

Commit 638d9b0

Browse files
committed
test_operator: skip SIGSEG tests
1 parent 90439d5 commit 638d9b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

graalpython/lib-python/3/test/test_operator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ def copy(self, obj, proto):
511511
with support.swap_item(sys.modules, 'operator', self.module2):
512512
return pickle.loads(pickled)
513513

514+
@unittest.skipIfGraalPython()
514515
def test_attrgetter(self):
515516
attrgetter = self.module.attrgetter
516517
class A:
@@ -539,6 +540,7 @@ class A:
539540
self.assertEqual(repr(f2), repr(f))
540541
self.assertEqual(f2(a), f(a))
541542

543+
@unittest.skipIfGraalPython()
542544
def test_itemgetter(self):
543545
itemgetter = self.module.itemgetter
544546
a = 'ABCDE'
@@ -554,6 +556,7 @@ def test_itemgetter(self):
554556
self.assertEqual(repr(f2), repr(f))
555557
self.assertEqual(f2(a), f(a))
556558

559+
@unittest.skipIfGraalPython()
557560
def test_methodcaller(self):
558561
methodcaller = self.module.methodcaller
559562
class A:

0 commit comments

Comments
 (0)