From ea20ddeb0993d1be1ac444cae975b82a209ab077 2019-12-03 14:09:02 From: Min RK Date: 2019-12-03 14:09:02 Subject: [PATCH] Merge pull request #11988 from Carreau/u_format_1 Remove useless call to u_format and redundant list comprehension --- diff --git a/IPython/core/tests/test_handlers.py b/IPython/core/tests/test_handlers.py index e87e29d..02860c8 100644 --- a/IPython/core/tests/test_handlers.py +++ b/IPython/core/tests/test_handlers.py @@ -49,11 +49,11 @@ def test_handlers(): # For many of the below, we're also checking that leading whitespace # turns off the esc char, which it should unless there is a continuation # line. - run([(i,py3compat.u_format(o)) for i,o in \ + run( [('"no change"', '"no change"'), # normal (u"lsmagic", "get_ipython().run_line_magic('lsmagic', '')"), # magic #("a = b # PYTHON-MODE", '_i'), # emacs -- avoids _in cache - ]]) + ]) # Objects which are instances of IPyAutocall are *always* autocalled autocallable = Autocallable()