Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

String in test for #822 was meant to be a bytestring, fixes it.

  • Loading branch information...
commit ddb3a0fb47f25ebd06482c3bf33292245471baf3 1 parent 80e7338
@fperez fperez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  IPython/core/tests/test_interactiveshell.py
View
2  IPython/core/tests/test_interactiveshell.py
@@ -201,7 +201,7 @@ def test_drop_by_id(self):
def test_var_expand(self):
ip = get_ipython()
- ip.user_ns['f'] = u'Ca\xc3\xb1o'
+ ip.user_ns['f'] = 'Ca\xc3\xb1o'
# This should not raise any exception:
ip.var_expand(u'echo $f')

2 comments on commit ddb3a0f

@takluyver
Owner

It will still be doing the same thing on Python 3, but I wouldn't worry too much - I've tested that a normal string works as expected.

@fperez
Owner

ok, thanks... Too tired to speak unicode straight :)

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