[commit: testsuite] master: Remove unused helper functions (6fc5493)

Ian Lynagh igloo at earth.li
Fri Feb 8 15:19:19 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/6fc5493f84f872b6a7c0ced9095ed821a3de58a7

>---------------------------------------------------------------

commit 6fc5493f84f872b6a7c0ced9095ed821a3de58a7
Author: Ian Lynagh <ian at well-typed.com>
Date:   Fri Feb 8 13:36:22 2013 +0000

    Remove unused helper functions

>---------------------------------------------------------------

 driver/testlib.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/driver/testlib.py b/driver/testlib.py
index aa601f7..77b05ed 100644
--- a/driver/testlib.py
+++ b/driver/testlib.py
@@ -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):





More information about the ghc-commits mailing list