From 31ab23f28cc7c2cc00b89cb557bde44e0a2905d2 2011-11-20 22:51:13 From: Fernando Perez Date: 2011-11-20 22:51:13 Subject: [PATCH] Add failing test for #822, will be fixed next --- diff --git a/IPython/core/tests/test_interactiveshell.py b/IPython/core/tests/test_interactiveshell.py index 743dffa..d61f6c3 100644 --- a/IPython/core/tests/test_interactiveshell.py +++ b/IPython/core/tests/test_interactiveshell.py @@ -199,6 +199,13 @@ class InteractiveShellTestCase(unittest.TestCase): assert ip.user_ns['b'] == 12 ip.reset() + def test_var_expand(self): + ip = get_ipython() + ip.user_ns['f'] = u'Ca\xc3\xb1o' + # This should not raise any exception: + ip.var_expand(u'echo $f') + + class TestSafeExecfileNonAsciiPath(unittest.TestCase): def setUp(self):