diff options
Diffstat (limited to 'src/mailman/commands/tests')
| -rw-r--r-- | src/mailman/commands/tests/test_control.py | 5 | ||||
| -rw-r--r-- | src/mailman/commands/tests/test_create.py | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/mailman/commands/tests/test_control.py b/src/mailman/commands/tests/test_control.py index df61edccf..0847d86b1 100644 --- a/src/mailman/commands/tests/test_control.py +++ b/src/mailman/commands/tests/test_control.py @@ -17,10 +17,11 @@ """Test some additional corner cases for starting/stopping.""" -from __future__ import absolute_import, unicode_literals +from __future__ import absolute_import, print_function, unicode_literals __metaclass__ = type __all__ = [ + 'TestStart', 'find_master', 'make_config', ] @@ -54,7 +55,7 @@ def make_config(): shutil.copyfile(config.filename, config_file) with open(config_file, 'a') as fp: for runner_config in config.runner_configs: - print >> fp, '[{0}]\nstart:no\n'.format(runner_config.name) + print('[{0}]\nstart:no\n'.format(runner_config.name), file=fp) return config_file diff --git a/src/mailman/commands/tests/test_create.py b/src/mailman/commands/tests/test_create.py index 21ffd9c5b..c2dffb929 100644 --- a/src/mailman/commands/tests/test_create.py +++ b/src/mailman/commands/tests/test_create.py @@ -17,10 +17,11 @@ """Test `bin/mailman create`.""" -from __future__ import absolute_import, unicode_literals +from __future__ import absolute_import, print_function, unicode_literals __metaclass__ = type __all__ = [ + 'TestCreate', ] |
