New submission from Christian Heimes:
Index: Lib/test/test_netrc.py
===================================================================
--- Lib/test/test_netrc.py (revision 58695)
+++ Lib/test/test_netrc.py (working copy)
@@ -25,7 +25,7 @@
mode = 'w'
if sys.platform not in ['cygwin']:
mode += 't'
- fp = open(temp_filename, mode)
+ fp = open(temp_filename, mode, newline='')
fp.write(TEST_NETRC)
fp.close()
----------
components: Library (Lib)
messages: 56863
nosy: tiran
severity: normal
status: open
title: Fix for test_netrc on Windows
type: behavior
versions: Python 3.0
__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1345>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com