From c11265e8456892eb8a2e0cf3b825127eab52c530 2018-10-06 14:41:45 From: Tony Fast Date: 2018-10-06 14:41:45 Subject: [PATCH] Uncomment the ! assertion. Co-Authored-By: Nicholas Bollweg --- diff --git a/IPython/core/inputtransformer2.py b/IPython/core/inputtransformer2.py index fd7bc95..423c0fb 100644 --- a/IPython/core/inputtransformer2.py +++ b/IPython/core/inputtransformer2.py @@ -253,7 +253,7 @@ class SystemAssign(TokenTransformBase): lhs = lines[start_line][:start_col] end_line = find_end_of_continued_line(lines, start_line) rhs = assemble_continued_line(lines, (start_line, start_col), end_line) - # assert rhs.startswith('!'), rhs + assert rhs.startswith('!'), rhs cmd = rhs[1:] lines_before = lines[:start_line]