Colin Williams added the comment:
I've updated the patch to consolidate some duplicated code. Unfortunately, I
wasn't able to move anything to setUpClass without messing even more with the
internals. I haven't had a chance to refine the code further based on
xdegaye's suggestions, but I want
Xavier de Gaye added the comment:
A less invasive alternative could be to instrument Bdb with a subclass
that processes send-expect sequences. This is what does
http://code.google.com/p/pdb-clone/source/browse/Lib/test/test_bdb.py
This code could be adapted to run with python bdb.
--
no
Terry J. Reedy added the comment:
Does all of the code for say, BdbTestCase.setUp, need to be repeated for each
test method, versus being put in a .setUpClass method to be executed just once
for all the methods in BdbTestCase.
--
___
Python tracker
Terry J. Reedy added the comment:
Is the patch against 3.4? I am not sure if we backport new test files.
--
components: +Tests
nosy: +terry.reedy
stage: -> patch review
title: bdb test coverage -> Add tests for bdb (previously not tested)
type: -> enhancement
versions: +Python 3.4
___