I believe I got this atlast mostly right. All unit tests pass on Ubuntu 18.04 with Python 2.7 and Python 3.6. One limitation is that scons tries to reuse files generated for Python 2.x on Python 3.x. As a workaround I use rm -rf build.
To specify the python binary to build with, use scons bindings=... python=<pythonX.Y>.
The bulk of changed lines are due to converting test values from "a" to b"a" literals.
I believe I got this atlast mostly right. All unit tests pass on Ubuntu 18.04 with Python 2.7 and Python 3.6. One limitation is that scons tries to reuse files generated for Python 2.x on Python 3.x. As a workaround I use
rm -rf build
.To specify the python binary to build with, use
scons bindings=... python=<pythonX.Y>
.The bulk of changed lines are due to converting test values from
"a"
tob"a"
literals.