From: Robert Bradshaw Date: Fri, 15 Jan 2010 19:58:11 +0000 (-0800) Subject: Remove broken test from working one. X-Git-Tag: 0.13.beta0~353^2~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=15903d3b40acb5d7f2e168d76a0d3d499db7a948;p=cython.git Remove broken test from working one. --- diff --git a/tests/run/cpp_templates.pyx b/tests/run/cpp_templates.pyx index dbfdbc78..6b723983 100644 --- a/tests/run/cpp_templates.pyx +++ b/tests/run/cpp_templates.pyx @@ -62,19 +62,3 @@ def test_pair(int i, double x): del pair - -def test_wrap_pair(int i, double x): - """ - >>> test_wrap_pair(1, 1.5) - (1, 1.5, True, False) - >>> test_wrap_pair(2, 2.25) - (2, 2.25, True, False) - """ - cdef Pair[int, double] *pair - cdef Wrap[Pair[int, double]] *wrap - try: - pair = new Pair[int, double](i, x) - warp = new Wrap[Pair[int, double]](deref(pair)) - return wrap.get().first(), wrap.get().second(), deref(wrap) == deref(wrap) - finally: - del pair, wrap