commit | d325c4b233bdf36110c4c97e51b895972cbcf672 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Nov 21 04:08:28 2010 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Nov 21 04:08:28 2010 +0000 |
tree | 844c017173db101ba42ad059dd8ba798e6d04a69 | |
parent | 2dad5cade41eb8ba9880427f313ac2f1d2e1a505 [diff] |
Revert r86517
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py index b07fb1d..611ef55 100644 --- a/Lib/test/test_decimal.py +++ b/Lib/test/test_decimal.py
@@ -1346,7 +1346,7 @@ #the same hash that to an int self.assertEqual(hashit(Decimal(23)), hashit(23)) - self.assertRaises(ValueError, hash, Decimal('sNaN')) + self.assertRaises(TypeError, hash, Decimal('sNaN')) self.assertTrue(hashit(Decimal('Inf'))) self.assertTrue(hashit(Decimal('-Inf')))