From 07982f1384a38583546b0b7d451ab4b1ad985c22 Mon Sep 17 00:00:00 2001 From: Emile Anclin Date: Mon, 6 Dec 2010 11:26:40 +0100 Subject: cleanup: remove deprecated norm_read --- test/unittest_fileutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'])) -- cgit v1.2.1