Fix test_interact_default_banner for Python 3.10 compatibility.