summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-12-06 11:26:40 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-12-06 11:26:40 +0100
commit07982f1384a38583546b0b7d451ab4b1ad985c22 (patch)
tree7d9543dfaab42274e6175ce30419c3dc82e73873
parent419ccc94c73f7143ab7cca1fd03d70787428d097 (diff)
downloadlogilab-common-07982f1384a38583546b0b7d451ab4b1ad985c22.tar.gz
cleanup: remove deprecated norm_read
-rw-r--r--test/unittest_fileutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unittest_fileutils.py b/test/unittest_fileutils.py
index 7730e22..6d99d52 100644
--- a/test/unittest_fileutils.py
+++ b/test/unittest_fileutils.py
@@ -53,7 +53,7 @@ class GetModeTC(TestCase):
class NormReadTC(TestCase):
def test_known_values_norm_read(self):
- data = norm_read(NEWLINES_TXT)
+ data = open(NEWLINES_TXT, 'U').read()
self.assertEqual(data.strip(), '\n'.join(['# mixed new lines', '1', '2', '3']))