From 10f133e4be55060fff359ea187f6a2643e3ceb78 2012-04-18 21:52:23 From: Fernando Perez Date: 2012-04-18 21:52:23 Subject: [PATCH] Quick, trivial fix to test failure introduced in cca0bf (PR #1624) --- diff --git a/IPython/utils/tests/test_openpy.py b/IPython/utils/tests/test_openpy.py index f26a781..182b041 100644 --- a/IPython/utils/tests/test_openpy.py +++ b/IPython/utils/tests/test_openpy.py @@ -16,8 +16,8 @@ def test_read_file(): read_specified_enc = io.open(nonascii_path, encoding='iso-8859-5').read() read_detected_enc = openpy.read_py_file(nonascii_path, skip_encoding_cookie=False) nt.assert_equal(read_detected_enc, read_specified_enc) - assert u'encoding: iso-8859-5' in read_detected_enc + assert u'coding: iso-8859-5' in read_detected_enc read_strip_enc_cookie = openpy.read_py_file(nonascii_path, skip_encoding_cookie=True) - assert u'encoding: iso-8859-5' not in read_strip_enc_cookie + assert u'coding: iso-8859-5' not in read_strip_enc_cookie