Remove unused helper functions
authorIan Lynagh <ian@well-typed.com>
Fri, 8 Feb 2013 13:36:22 +0000 (13:36 +0000)
committerIan Lynagh <ian@well-typed.com>
Fri, 8 Feb 2013 13:36:22 +0000 (13:36 +0000)
testsuite/driver/testlib.py

index aa601f7..77b05ed 100644 (file)
@@ -269,9 +269,6 @@ def _stats_num_field( name, opts, field, expecteds ):
         (expected, dev) = expecteds
         opts.stats_range_fields[field] = (expected, dev)
 
-def stats_range_field( field, expected, dev ):
-    return stats_num_field( field, [(True, expected, dev)] )
-
 def compiler_stats_num_field( field, expecteds ):
     return lambda name, opts, f=field, e=expecteds: _compiler_stats_num_field(name, opts, f, e);
 
@@ -286,9 +283,6 @@ def _compiler_stats_num_field( name, opts, field, expecteds ):
 
     framework_fail(name, 'numfield-no-expected', 'No expected value found for ' + field + ' in num_field check')
 
-def compiler_stats_range_field( field, expected, dev ):
-    return compiler_stats_num_field( field, [(True, expected, dev)] )
-
 # -----
 
 def skip_if_no_ghci(name, opts):