From 15903d3b40acb5d7f2e168d76a0d3d499db7a948 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Fri, 15 Jan 2010 11:58:11 -0800 Subject: [PATCH] Remove broken test from working one. --- tests/run/cpp_templates.pyx | 16 ---------------- 1 file changed, 16 deletions(-) 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 -- 2.26.2