now I'm confused (my usual state...) I am in fact running the identical driver on both branches and it is running as part of chirpw and chirpc. I fixed the syntax errors in run_tests on the py3 branch and stripped almost all drivers out of the drivers directory. That's what I've been running to pass the unit test on the py3 branch since you told me how:
dgc@vivomini /export/srcs/CHIRP3/chirp.hg/tests $ ./run_tests -d Yaesu_FT-4XR
Failed to import /export/srcs/CHIRP3/chirp.hg/chirp/drivers/rfinder: invalid syntax (rfinder.py, line 290)
Yaesu FT-4XR Clone PASSED: All tests
Yaesu FT-4XR Edges PASSED: All tests
Yaesu FT-4XR BruteForce PASSED: All tests
Yaesu FT-4XR CopyAll PASSED: All tests
Yaesu FT-4XR Banks PASSED: All tests
Yaesu FT-4XR Detect PASSED: All tests
Yaesu FT-4XR Settings PASSED: All tests
----------------------------------------------------------------------
Results:
TOTAL : 7
PASSED : 7
SKIPPED: 0
FAILED : 0
CRASHED: 0