diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2009-10-08 16:28:39 (GMT) |
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2009-10-08 16:28:39 (GMT) |
| commit | 539bff4234d6e3c3183884625434b10b02f6cb05 (patch) | |
| tree | 9576f4f5ef88f4e10bc5548f764aaae2658c8fa3 /Lib/test/test_decimal.py | |
| parent | 3d830828defeabafe50ae5b8ba2298b7cf486b4f (diff) | |
| download | cpython-539bff4234d6e3c3183884625434b10b02f6cb05.zip cpython-539bff4234d6e3c3183884625434b10b02f6cb05.tar.gz cpython-539bff4234d6e3c3183884625434b10b02f6cb05.tar.bz2 | |
Update decimal test data to the most recent set from Mike Cowlishaw.
Diffstat (limited to 'Lib/test/test_decimal.py')
| -rw-r--r-- | Lib/test/test_decimal.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py index 0128231..ddc5ac5 100644 --- a/Lib/test/test_decimal.py +++ b/Lib/test/test_decimal.py @@ -63,6 +63,13 @@ directory = testdir + os.sep + TESTDATADIR + os.sep skip_expected = not os.path.isdir(directory) +# list of individual .decTest test ids that correspond to tests that +# we're skipping for one reason or another. +skipped_test_ids = [ + 'scbx164', # skipping apparently implementation-specific scaleb + 'scbx165', # tests, pending clarification of scaleb rules. +] + # Make sure it actually raises errors when not expected and caught in flags # Slower, since it runs some things several times. EXTENDEDERRORTEST = False @@ -262,6 +269,10 @@ class DecimalTest(unittest.TestCase): val = val.replace("'", '').replace('"', '') val = val.replace('SingleQuote', "'").replace('DoubleQuote', '"') return val + + if id in skipped_test_ids: + return + fname = nameAdapter.get(funct, funct) if fname == 'rescale': return |
