Use announce instead of print, to suppress output in
the testsuite.
diff --git a/Lib/distutils/config.py b/Lib/distutils/config.py
index 35a21ec..e07f8ac 100644
--- a/Lib/distutils/config.py
+++ b/Lib/distutils/config.py
@@ -62,7 +62,7 @@
         """Reads the .pypirc file."""
         rc = self._get_rc_file()
         if os.path.exists(rc):
-            print 'Using PyPI login from %s' % rc
+            self.announce('Using PyPI login from %s' % rc)
             repository = self.repository or self.DEFAULT_REPOSITORY
             realm = self.realm or self.DEFAULT_REALM