PY3: Update inline string/script
TST: this module uses teardown_module but unittest.main doesn't run it