diff options
Diffstat (limited to 'tests.py')
-rwxr-xr-x | tests.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from __future__ import print_function import doctest import unittest import sys @@ -73,7 +72,8 @@ if coverage is not None: coverage.erase() if coverage is None: - print(""" - No coverage reporting done (Python module "coverage" is missing) - Please install the python-coverage package to get coverage reporting. - """, file=sys.stderr) + sys.stderr.write(""" +No coverage reporting done (Python module "coverage" is missing) +Please install the python-coverage package to get coverage reporting. +""") + sys.stderr.flush() |