Blob Blame History Raw
From 0b78c2835fad5df3be182ddd5013a73a63c4f81e Mon Sep 17 00:00:00 2001
From: Thomas Kluyver <thomas@kluyver.me.uk>
Date: Mon, 2 Jul 2018 22:27:09 +0200
Subject: [PATCH] Fix test for changed IPython behaviour

Closes gh-42
---
 test_ipykernel.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test_ipykernel.py b/test_ipykernel.py
index 8abe86a..fe85aff 100644
--- a/test_ipykernel.py
+++ b/test_ipykernel.py
@@ -46,7 +46,7 @@ class IPyKernelTests(jkt.KernelTests):
     # these samples should respectively be unambigiously complete statements
     # (which should be executed on <enter>), incomplete statements or code
     # which should be identified as invalid
-    complete_code_samples = ['1', "print('hello, world')", "def f(x):\n  return x*2\n\n"]
+    complete_code_samples = ['1', "print('hello, world')", "def f(x):\n  return x*2\n\n\n"]
     incomplete_code_samples = ["print('''hello", "def f(x):\n  x*2"]
     invalid_code_samples = ['import = 7q']