[master 1/1] Fix the dd_test for python3.