Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

TST: remove assert messages (#790)

remove ambiguous assert messages for unicode_literals test
  • Loading branch information...
commit 963bcc5cce6a500aecd4bc6c08d7b955a01506f3 1 parent 0ffa2ed
Olivier Verdier authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 IPython/core/tests/test_interactiveshell.py
4 IPython/core/tests/test_interactiveshell.py
@@ -139,10 +139,10 @@ def test_future_unicode(self):
139 139 ip = get_ipython()
140 140 try:
141 141 ip.run_cell(u'byte_str = "a"')
142   - assert isinstance(ip.user_ns['byte_str'], str), 'string literals are byte strings by default'
  142 + assert isinstance(ip.user_ns['byte_str'], str) # string literals are byte strings by default
143 143 ip.run_cell('from __future__ import unicode_literals')
144 144 ip.run_cell(u'unicode_str = "a"')
145   - assert isinstance(ip.user_ns['unicode_str'], unicode), 'strings literals are now unicode'
  145 + assert isinstance(ip.user_ns['unicode_str'], unicode) # strings literals are now unicode
146 146 finally:
147 147 # Reset compiler flags so we don't mess up other tests.
148 148 ip.compile.reset_compiler_flags()

0 comments on commit 963bcc5

Please sign in to comment.
Something went wrong with that request. Please try again.