From d472c7b789d06cb3066c8a3c6fba684610b5395c Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 31 Oct 2000 23:46:10 +0000 Subject: [PATCH] Add a regression test for a reference-counting bug thanks to Mark Evans () [SVN r8089] --- test_extclass.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test_extclass.py b/test_extclass.py index 137f5f2e..f78c5d0a 100644 --- a/test_extclass.py +++ b/test_extclass.py @@ -650,6 +650,13 @@ Testing interaction between callbacks, base declarations, and overloading -1 >>> testCallback(r, 1) -1 + +Regression test for a reference-counting bug thanks to Mark Evans +() + >>> sizelist([]) + 0.0 + >>> sizelist([1, 2, 4]) + 3.0 ''' from demo import *