From cd578c57768addb780c6d996b591b7c79babf91c Mon Sep 17 00:00:00 2001 From: Carl Witty Date: Tue, 27 Jul 2010 16:35:46 -0700 Subject: [PATCH] trac #562: test case for segmentation fault --- tests/run/ipow_crash_T562.pyx | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/run/ipow_crash_T562.pyx diff --git a/tests/run/ipow_crash_T562.pyx b/tests/run/ipow_crash_T562.pyx new file mode 100644 index 00000000..f231322f --- /dev/null +++ b/tests/run/ipow_crash_T562.pyx @@ -0,0 +1,6 @@ +cdef class CrashIPOW: + """ + >>> CrashIPOW().__ipow__('a') + """ + def __ipow__(self, other, mod): + print "%s, %s" % (other, mod) -- 2.26.2