summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-03-12 14:29:24 +0100
committerJulian Andres Klode <jak@debian.org>2010-03-12 14:29:24 +0100
commit092deeee998dfa2695c586c8105120bd586e8fd1 (patch)
tree05d2780a47595c1bff82a7b6a4f2fe4b2747819d
parent886cf9ab3e38a930f676d97d1e673be8d2ea7883 (diff)
downloadpython-apt-092deeee998dfa2695c586c8105120bd586e8fd1.tar.gz
tests/test_all.py: Write information header to stderr, not stdout.
-rw-r--r--debian/changelog1
-rw-r--r--tests/test_all.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 6970a7cc..f33f4ed5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ python-apt (0.7.94.1) UNRELEASED; urgency=low
* Use dh_link instead of ln for python-apt-doc (Closes: #573523).
* Pass --link-doc=python-apt to dh_installdocs.
* Install examples to python-apt-doc instead of python-apt.
+ * tests/test_all.py: Write information header to stderr, not stdout.
-- Julian Andres Klode <jak@debian.org> Thu, 11 Mar 2010 19:33:26 +0100
diff --git a/tests/test_all.py b/tests/test_all.py
index dc603dfd..d561a9ae 100644
--- a/tests/test_all.py
+++ b/tests/test_all.py
@@ -10,7 +10,7 @@ import unittest
import sys
if __name__ == '__main__':
- print("[tests] Running on %s" % sys.version.replace("\n", ""))
+ sys.stderr.write("[tests] Running on %s\n" % sys.version.replace("\n", ""))
os.chdir(os.path.dirname(__file__))
# Find the path to the built apt_pkg and apt_inst extensions
if os.path.exists("../build"):