diff options
author | HE, Tao <sighingnow@gmail.com> | 2018-06-07 20:43:55 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-06-08 08:25:29 -0400 |
commit | 40db277f1dedd4df7e75cc0eb35aa7e1e1ded02a (patch) | |
tree | d9850b1d6fa6d24d7b9959a7eb89b7bd31ed9a82 /testsuite/driver | |
parent | 838aeb9b254efb3df7ed0cedeb945ec7c7789c90 (diff) | |
download | haskell-40db277f1dedd4df7e75cc0eb35aa7e1e1ded02a.tar.gz |
Fix `print-explicit-runtime-reps` (#11786).
By fixing splitting of IfaceTypes in splitIfaceSigmaTy.
Test Plan: make test TEST="T11549 T11376 T11786"
Reviewers: goldfire, bgamari
Subscribers: rwbarton, thomie, carter
GHC Trac Issues: #11786, #11376
Differential Revision: https://phabricator.haskell.org/D4733
Diffstat (limited to 'testsuite/driver')
-rw-r--r-- | testsuite/driver/testlib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index 6e86cdc0b8..0f988ca21b 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -1440,7 +1440,7 @@ def stdout_ok(name, way): expected_stdout_file, actual_stdout_file) def dump_stdout( name ): - with open(in_testdir(name, 'run.stdout')) as f: + with open(in_testdir(name, 'run.stdout'), encoding='utf8') as f: str = f.read().strip() if str: print("Stdout (", name, "):") @@ -1456,7 +1456,7 @@ def stderr_ok(name, way): whitespace_normaliser=normalise_whitespace) def dump_stderr( name ): - with open(in_testdir(name, 'run.stderr')) as f: + with open(in_testdir(name, 'run.stderr'), encoding='utf8') as f: str = f.read().strip() if str: print("Stderr (", name, "):") |