Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

account for trailing newline in test_history.test_history

  • Loading branch information...
commit d5e7d795f1f265461b0f994820888cd3ca8b4272 1 parent ca28142
Dominik Dabrowski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  IPython/core/tests/test_history.py
View
2  IPython/core/tests/test_history.py
@@ -95,7 +95,7 @@ def test_history():
ip.magic("save " + testfilename + " ~1/1-3")
with py3compat.open(testfilename, encoding='utf-8') as testfile:
nt.assert_equal(testfile.read(),
- u"# coding: utf-8\n" + u"\n".join(hist))
+ u"# coding: utf-8\n" + u"\n".join(hist)+u"\n")
# Duplicate line numbers - check that it doesn't crash, and
# gets a new session
Please sign in to comment.
Something went wrong with that request. Please try again.