Mark Sapiro pushed to branch master at GNU Mailman / Mailman Core
Commits:
66bf27f7 by Mark Sapiro at 2022-11-19T00:18:06+00:00
Fix test_interact_default_banner for Python 3.10 compatibility.
Fixes #1041
- - - - -
1aa10e27 by Mark Sapiro at 2022-11-19T00:18:06+00:00
Merge branch 'banner' into 'master'
Fix test_interact_default_banner for Python 3.10 compatibility.
Closes #1041
See merge request mailman/mailman!1062
- - - - -
1 changed file:
- src/mailman/utilities/tests/test_interact.py
Changes:
=====================================
src/mailman/utilities/tests/test_interact.py
=====================================
@@ -67,7 +67,7 @@ class TestInteract(unittest.TestCase):
self._enter(hackenv('PYTHONSTARTUP', None))
interact()
stderr = self._stderr.getvalue().splitlines()
- banner = 'Python {} on {} '.format(sys.version, sys.platform)
+ banner = 'Python {} on {}'.format(sys.version, sys.platform)
self.assertEqual(stderr[0], banner.splitlines()[0])
def test_interact_custom_banner(self):
View it on GitLab:
https://gitlab.com/mailman/mailman/-/compare/e2734e9e2e10ebc29aed5e695bd5295f85a5b1fe...1aa10e2768733d2561850c89c4378b8981056447
--
View it on GitLab:
https://gitlab.com/mailman/mailman/-/compare/e2734e9e2e10ebc29aed5e695bd5295f85a5b1fe...1aa10e2768733d2561850c89c4378b8981056447
You're receiving this email because of your account on gitlab.com.
_______________________________________________
Mailman-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-checkins.python.org/
Member address: [email protected]