Correcting assertion about java vs python.