[Python-checkins] cpython: update skip reason

philip.jenvey python-checkins at python.org
Thu Mar 1 01:22:00 CET 2012


http://hg.python.org/cpython/rev/87dcd948dc74
changeset:   75355:87dcd948dc74
user:        Philip Jenvey <pjenvey at underboss.org>
date:        Wed Feb 29 16:21:25 2012 -0800
summary:
  update skip reason

files:
  Lib/test/test_os.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -1435,7 +1435,7 @@
 
     @unittest.skipUnless(os.isatty(0) and (sys.platform.startswith('win') or
             (hasattr(locale, 'nl_langinfo') and hasattr(locale, 'CODESET'))),
-            'test requires either Windows or nl_langinfo(CODESET)')
+            'test requires a tty and either Windows or nl_langinfo(CODESET)')
     def test_device_encoding(self):
         encoding = os.device_encoding(0)
         self.assertIsNotNone(encoding)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list