test: Remove conditional code for ancient Python 2.3
test: Workaround unittest issues with debug builds of Python 3.4