5
The comment from @Will Keeling set me on the right track. My migrations (originally created with Python2.7) had many:
... db_column = b"NAME_OF_COLUMN", ...
statements. I just removed all the leading b
– and lo and behold all tests pass in both Python2.7 and Python3.
Source:stackexchange.com