diff options
author | Josh Blum | 2012-11-08 19:28:25 -0800 |
---|---|---|
committer | Josh Blum | 2012-11-08 19:28:25 -0800 |
commit | dd6f32746366a08eb7cfbd5fe19e55768c94f79f (patch) | |
tree | 7495a1503f95e87532e0e153779382e0f6c04ea7 /tests | |
parent | d1d9b98d31d17b9c7b8b80105de890c287ccf96e (diff) | |
download | sandhi-dd6f32746366a08eb7cfbd5fe19e55768c94f79f.tar.gz sandhi-dd6f32746366a08eb7cfbd5fe19e55768c94f79f.tar.bz2 sandhi-dd6f32746366a08eb7cfbd5fe19e55768c94f79f.zip |
save thread state on destructor, which may call back into python
Diffstat (limited to 'tests')
-rw-r--r-- | tests/block_test.py | 2 |
1 files changed, 0 insertions, 2 deletions
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)) |