From db4dc3f3786c1cf84da3c3f48dcd773b168105d1 Mon Sep 17 00:00:00 2001 From: Josh Junon Date: Fri, 24 Mar 2017 00:47:01 -0700 Subject: [PATCH] update tests --- test/output/python2-dumb-UTF-8-color.out | 30 +++++++++++++++---- test/output/python2-dumb-UTF-8-nocolor.out | 30 +++++++++++++++---- test/output/python2-dumb-ascii-color.out | 30 +++++++++++++++---- test/output/python2-dumb-ascii-nocolor.out | 30 +++++++++++++++---- test/output/python2-vt100-UTF-8-color.out | 30 +++++++++++++++---- test/output/python2-vt100-UTF-8-nocolor.out | 30 +++++++++++++++---- test/output/python2-vt100-ascii-color.out | 30 +++++++++++++++---- test/output/python2-vt100-ascii-nocolor.out | 30 +++++++++++++++---- .../python2-xterm-256color-ascii-color.out | 30 +++++++++++++++---- .../python2-xterm-256color-ascii-nocolor.out | 30 +++++++++++++++---- test/output/python3-dumb-UTF-8-color.out | 30 +++++++++++++++---- test/output/python3-dumb-UTF-8-nocolor.out | 30 +++++++++++++++---- test/output/python3-dumb-ascii-color.out | 30 +++++++++++++++---- test/output/python3-dumb-ascii-nocolor.out | 30 +++++++++++++++---- test/output/python3-vt100-UTF-8-color.out | 30 +++++++++++++++---- test/output/python3-vt100-UTF-8-nocolor.out | 30 +++++++++++++++---- test/output/python3-vt100-ascii-color.out | 30 +++++++++++++++---- test/output/python3-vt100-ascii-nocolor.out | 30 +++++++++++++++---- .../python3-xterm-256color-ascii-color.out | 30 +++++++++++++++---- .../python3-xterm-256color-ascii-nocolor.out | 30 +++++++++++++++---- test/test_string.sh | 1 + 21 files changed, 481 insertions(+), 120 deletions(-) diff --git a/test/output/python2-dumb-UTF-8-color.out b/test/output/python2-dumb-UTF-8-color.out index 36f9816..6856921 100644 --- a/test/output/python2-dumb-UTF-8-color.out +++ b/test/output/python2-dumb-UTF-8-color.out @@ -97,19 +97,37 @@ from __future__ import print_function; import better_exceptions; a = "why hello Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  │ └ 'why hello there'  └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  │ └ 'why hello there'  └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  │ └ 'why hello there' +  └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  │ └ 'why hello there' +  └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + diff --git a/test/output/python2-dumb-UTF-8-nocolor.out b/test/output/python2-dumb-UTF-8-nocolor.out index f2e71ae..761d322 100644 --- a/test/output/python2-dumb-UTF-8-nocolor.out +++ b/test/output/python2-dumb-UTF-8-nocolor.out @@ -97,19 +97,37 @@ from __future__ import print_function; import better_exceptions; a = "why hello Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False - │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False + │ └ 'why hello there' └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False - │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False + │ └ 'why hello there' └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False why hello there +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + │ └ 'why hello there' + └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False +why hello there + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + │ └ 'why hello there' + └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False +why hello there + diff --git a/test/output/python2-dumb-ascii-color.out b/test/output/python2-dumb-ascii-color.out index 94e0529..f8dca56 100644 --- a/test/output/python2-dumb-ascii-color.out +++ b/test/output/python2-dumb-ascii-color.out @@ -97,19 +97,37 @@ from __future__ import print_function; import better_exceptions; a = "why hello Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + diff --git a/test/output/python2-dumb-ascii-nocolor.out b/test/output/python2-dumb-ascii-nocolor.out index f5bc510..4899211 100644 --- a/test/output/python2-dumb-ascii-nocolor.out +++ b/test/output/python2-dumb-ascii-nocolor.out @@ -97,19 +97,37 @@ from __future__ import print_function; import better_exceptions; a = "why hello Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False - | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False + | -> 'why hello there' -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False - | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False + | -> 'why hello there' -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False why hello there +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + | -> 'why hello there' + -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False +why hello there + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + | -> 'why hello there' + -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False +why hello there + diff --git a/test/output/python2-vt100-UTF-8-color.out b/test/output/python2-vt100-UTF-8-color.out index 36f9816..6856921 100644 --- a/test/output/python2-vt100-UTF-8-color.out +++ b/test/output/python2-vt100-UTF-8-color.out @@ -97,19 +97,37 @@ from __future__ import print_function; import better_exceptions; a = "why hello Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  │ └ 'why hello there'  └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  │ └ 'why hello there'  └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  │ └ 'why hello there' +  └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  │ └ 'why hello there' +  └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + diff --git a/test/output/python2-vt100-UTF-8-nocolor.out b/test/output/python2-vt100-UTF-8-nocolor.out index 36f9816..6856921 100644 --- a/test/output/python2-vt100-UTF-8-nocolor.out +++ b/test/output/python2-vt100-UTF-8-nocolor.out @@ -97,19 +97,37 @@ from __future__ import print_function; import better_exceptions; a = "why hello Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  │ └ 'why hello there'  └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  │ └ 'why hello there'  └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  │ └ 'why hello there' +  └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  │ └ 'why hello there' +  └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + diff --git a/test/output/python2-vt100-ascii-color.out b/test/output/python2-vt100-ascii-color.out index 94e0529..f8dca56 100644 --- a/test/output/python2-vt100-ascii-color.out +++ b/test/output/python2-vt100-ascii-color.out @@ -97,19 +97,37 @@ from __future__ import print_function; import better_exceptions; a = "why hello Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + diff --git a/test/output/python2-vt100-ascii-nocolor.out b/test/output/python2-vt100-ascii-nocolor.out index 94e0529..f8dca56 100644 --- a/test/output/python2-vt100-ascii-nocolor.out +++ b/test/output/python2-vt100-ascii-nocolor.out @@ -97,19 +97,37 @@ from __future__ import print_function; import better_exceptions; a = "why hello Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + diff --git a/test/output/python2-xterm-256color-ascii-color.out b/test/output/python2-xterm-256color-ascii-color.out index 94e0529..f8dca56 100644 --- a/test/output/python2-xterm-256color-ascii-color.out +++ b/test/output/python2-xterm-256color-ascii-color.out @@ -97,19 +97,37 @@ from __future__ import print_function; import better_exceptions; a = "why hello Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + diff --git a/test/output/python2-xterm-256color-ascii-nocolor.out b/test/output/python2-xterm-256color-ascii-nocolor.out index 94e0529..f8dca56 100644 --- a/test/output/python2-xterm-256color-ascii-nocolor.out +++ b/test/output/python2-xterm-256color-ascii-nocolor.out @@ -97,19 +97,37 @@ from __future__ import print_function; import better_exceptions; a = "why hello Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +why hello there + diff --git a/test/output/python3-dumb-UTF-8-color.out b/test/output/python3-dumb-UTF-8-color.out index 1b76bf9..0b73039 100644 --- a/test/output/python3-dumb-UTF-8-color.out +++ b/test/output/python3-dumb-UTF-8-color.out @@ -100,18 +100,36 @@ from __future__ import print_function; import better_exceptions; a = "why hello why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  │ └ 'why hello there'  └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  │ └ 'why hello there'  └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False + +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  │ └ 'why hello there' +  └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  │ └ 'why hello there' +  └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False diff --git a/test/output/python3-dumb-UTF-8-nocolor.out b/test/output/python3-dumb-UTF-8-nocolor.out index a687062..669fe12 100644 --- a/test/output/python3-dumb-UTF-8-nocolor.out +++ b/test/output/python3-dumb-UTF-8-nocolor.out @@ -100,18 +100,36 @@ from __future__ import print_function; import better_exceptions; a = "why hello why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False - │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False + │ └ 'why hello there' └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False - │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False + │ └ 'why hello there' └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False + +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + │ └ 'why hello there' + └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + │ └ 'why hello there' + └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False diff --git a/test/output/python3-dumb-ascii-color.out b/test/output/python3-dumb-ascii-color.out index 37e4daf..0c3faf4 100644 --- a/test/output/python3-dumb-ascii-color.out +++ b/test/output/python3-dumb-ascii-color.out @@ -100,18 +100,36 @@ from __future__ import print_function; import better_exceptions; a = "why hello why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False + +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False diff --git a/test/output/python3-dumb-ascii-nocolor.out b/test/output/python3-dumb-ascii-nocolor.out index 57c02b3..d600cc5 100644 --- a/test/output/python3-dumb-ascii-nocolor.out +++ b/test/output/python3-dumb-ascii-nocolor.out @@ -100,18 +100,36 @@ from __future__ import print_function; import better_exceptions; a = "why hello why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False - | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False + | -> 'why hello there' -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False - | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False + | -> 'why hello there' -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there" ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False + +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + | -> 'why hello there' + -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + | -> 'why hello there' + -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False diff --git a/test/output/python3-vt100-UTF-8-color.out b/test/output/python3-vt100-UTF-8-color.out index 1b76bf9..0b73039 100644 --- a/test/output/python3-vt100-UTF-8-color.out +++ b/test/output/python3-vt100-UTF-8-color.out @@ -100,18 +100,36 @@ from __future__ import print_function; import better_exceptions; a = "why hello why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  │ └ 'why hello there'  └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  │ └ 'why hello there'  └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False + +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  │ └ 'why hello there' +  └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  │ └ 'why hello there' +  └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False diff --git a/test/output/python3-vt100-UTF-8-nocolor.out b/test/output/python3-vt100-UTF-8-nocolor.out index 1b76bf9..0b73039 100644 --- a/test/output/python3-vt100-UTF-8-nocolor.out +++ b/test/output/python3-vt100-UTF-8-nocolor.out @@ -100,18 +100,36 @@ from __future__ import print_function; import better_exceptions; a = "why hello why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  │ └ 'why hello there'  └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  │ └ 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  │ └ 'why hello there'  └ 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False + +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  │ └ 'why hello there' +  └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  │ └ 'why hello there' +  └ 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False diff --git a/test/output/python3-vt100-ascii-color.out b/test/output/python3-vt100-ascii-color.out index 37e4daf..0c3faf4 100644 --- a/test/output/python3-vt100-ascii-color.out +++ b/test/output/python3-vt100-ascii-color.out @@ -100,18 +100,36 @@ from __future__ import print_function; import better_exceptions; a = "why hello why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False + +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False diff --git a/test/output/python3-vt100-ascii-nocolor.out b/test/output/python3-vt100-ascii-nocolor.out index 37e4daf..0c3faf4 100644 --- a/test/output/python3-vt100-ascii-nocolor.out +++ b/test/output/python3-vt100-ascii-nocolor.out @@ -100,18 +100,36 @@ from __future__ import print_function; import better_exceptions; a = "why hello why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False + +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False diff --git a/test/output/python3-xterm-256color-ascii-color.out b/test/output/python3-xterm-256color-ascii-color.out index 37e4daf..0c3faf4 100644 --- a/test/output/python3-xterm-256color-ascii-color.out +++ b/test/output/python3-xterm-256color-ascii-color.out @@ -100,18 +100,36 @@ from __future__ import print_function; import better_exceptions; a = "why hello why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False + +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False diff --git a/test/output/python3-xterm-256color-ascii-nocolor.out b/test/output/python3-xterm-256color-ascii-nocolor.out index 37e4daf..0c3faf4 100644 --- a/test/output/python3-xterm-256color-ascii-nocolor.out +++ b/test/output/python3-xterm-256color-ascii-nocolor.out @@ -100,18 +100,36 @@ from __future__ import print_function; import better_exceptions; a = "why hello why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False why hello there Traceback (most recent call last): File "", line 1, in - from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False -  | -> 'why hello there' + from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False +  | -> 'why hello there'  -> 'why hello there' -AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there' ; print(a); assert False +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello there'; print(a); assert False + +from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False + +why hello there +Traceback (most recent call last): + File "", line 1, in + from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False +  | -> 'why hello there' +  -> 'why hello there' +AssertionError: from __future__ import print_function; import better_exceptions; a = 'why hello ' + ' there'; print(a); assert False diff --git a/test/test_string.sh b/test/test_string.sh index c33b6d5..a77a82a 100755 --- a/test/test_string.sh +++ b/test/test_string.sh @@ -19,3 +19,4 @@ function test_str { test_str 'import better_exceptions; a = 5; assert a > 10 # this should work fine' these extra arguments should be removed and should not show up 'in' the output test_str 'from __future__ import print_function; import better_exceptions; a = "why hello there"; print(a); assert False' +test_str 'from __future__ import print_function; import better_exceptions; a = "why hello " + " there"; print(a); assert False'