From dd6f32746366a08eb7cfbd5fe19e55768c94f79f Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 8 Nov 2012 19:28:25 -0800 Subject: save thread state on destructor, which may call back into python --- tests/block_test.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests') diff --git a/tests/block_test.py b/tests/block_test.py index 43c764e..23322a4 100644 --- a/tests/block_test.py +++ b/tests/block_test.py @@ -13,7 +13,6 @@ class BlockTest(unittest.TestCase): tb = gras.TopBlock() tb.connect(vec_source, vec_sink) tb.run() - tb.commit() tb = None self.assertEqual(vec_sink.get_vector(), (0, 9, 8, 7, 6)) @@ -28,7 +27,6 @@ class BlockTest(unittest.TestCase): tb.connect((src1, 0), (adder, 1)) tb.connect(adder, sink) tb.run() - tb.commit() tb = None self.assertEqual(sink.get_vector(), (1, 5, 9, 13, 17)) -- cgit