From 649b452714fffeb0f1dde69e6b0c25d27e98f709 Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Thu, 18 Feb 2021 08:45:07 +0900 Subject: [PATCH] That changes some test results intentionally --- test/testIteratorUnpack.krk.expect | 4 ++-- test/testPackageImports.krk.expect | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/testIteratorUnpack.krk.expect b/test/testIteratorUnpack.krk.expect index 97135b2..e63e9d0 100644 --- a/test/testIteratorUnpack.krk.expect +++ b/test/testIteratorUnpack.krk.expect @@ -1,4 +1,4 @@ 0 1 2 0 1 2 -ValueError: Wrong number of values to unpack (wanted 2, got 2) -ValueError: Wrong number of values to unpack (wanted 4, got 3) +ValueError('Wrong number of values to unpack (wanted 2, got 2)') +ValueError('Wrong number of values to unpack (wanted 4, got 3)') diff --git a/test/testPackageImports.krk.expect b/test/testPackageImports.krk.expect index aee2b7b..0249f6c 100644 --- a/test/testPackageImports.krk.expect +++ b/test/testPackageImports.krk.expect @@ -1,6 +1,6 @@ Imported foo.__init__ as foo -AttributeError: 'module' object has no attribute 'bar' +AttributeError("'module' object has no attribute 'bar'") Imported bar.__init__ as foo.bar imported baz.krk as foo.bar.baz @@ -14,10 +14,10 @@ This is it! This is it! This is it! -NameError: Undefined variable 'foo'. +NameError("Undefined variable 'foo'.") This is it! -NameError: Undefined variable 'foo'. +NameError("Undefined variable 'foo'.") This is it! -NameError: Undefined variable 'qux'. -NameError: Undefined variable 'foo'. +NameError("Undefined variable 'qux'.") +NameError("Undefined variable 'foo'.")