Author: christian.heimes
Date: Tue Nov 6 03:00:52 2007
New Revision: 58874
Modified:
python/branches/py3k-pep3137/Lib/test/test_dumbdbm.py
Log:
Fixed a comparsion between bytes and str in dumbdbm tests
Modified: python/branches/py3k-pep3137/Lib/test/test_dumbdbm.py
==============================================================================
--- python/branches/py3k-pep3137/Lib/test/test_dumbdbm.py (original)
+++ python/branches/py3k-pep3137/Lib/test/test_dumbdbm.py Tue Nov 6
03:00:52 2007
@@ -115,7 +115,7 @@
# Mangle the file by changing the line separator to Windows or Unix
data = io.open(_fname + '.dir', 'rb').read()
- if os.linesep == b'\n':
+ if os.linesep == '\n':
data = data.replace(b'\n', b'\r\n')
else:
data = data.replace(b'\r\n', b'\n')
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins