summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-07 18:19:26 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-07 18:42:44 +0000
commitf66409dbe26c8d67e6503c6b1a0cb450426cbd09 (patch)
treee9366b991e81dbc534ab9339c848bbe1076cbc44
parent86df0f3257dc5cd535f3b8e97bc04f9f75f0ba79 (diff)
downloadhaskell-f66409dbe26c8d67e6503c6b1a0cb450426cbd09.tar.gz
Rename some arguments
-rw-r--r--testsuite/driver/testlib.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 4ce7372795..c262b53712 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -260,16 +260,16 @@ def _extra_clean( opts, v ):
# -----
-def stats_range_field( field, min, max ):
- return lambda opts, f=field, x=min, y=max: _stats_range_field(opts, f, x, y);
+def stats_range_field( field, expected, dev ):
+ return lambda opts, f=field, x=expected, y=dev: _stats_range_field(opts, f, x, y);
def _stats_range_field( opts, f, x, y ):
# copy the dictionary, as the config gets shared between all tests
opts.stats_range_fields = opts.stats_range_fields.copy()
opts.stats_range_fields[f] = (x, y)
-def compiler_stats_range_field( field, min, max ):
- return lambda opts, f=field, x=min, y=max: _compiler_stats_range_field(opts, f, x, y);
+def compiler_stats_range_field( field, expected, dev ):
+ return lambda opts, f=field, x=expected, y=dev: _compiler_stats_range_field(opts, f, x, y);
def _compiler_stats_range_field( opts, f, x, y ):
# copy the dictionary, as the config gets shared between all tests