Éric Araujo <mer...@netwok.org> added the comment:

The correct spelling of that is os.devnull.  platform.DEV_NULL exists only for 
backwards compatibility (not sure platform.py still has standalone releases).  
It is not documented and only used internally.  For a POSIX-only test like this 
one, hard-coding /dev/null is the simplest thing that works.

Thanks for the patch; our Mac experts will get to it.  Please generate unified 
diffs in the future.

----------
nosy: +eric.araujo

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11279>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to