summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_decimal.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-12-05 20:28:34 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-12-05 20:28:34 (GMT)
commit5c2db37c20ad62097ffaaea32c7e332484c200e0 (patch)
tree9f88385ce641ffaa2587693bd38bc1d0f2cfb674 /Lib/test/test_decimal.py
parentc39aad7c278135e599489914e74cf939e39953e9 (diff)
downloadcpython-5c2db37c20ad62097ffaaea32c7e332484c200e0.zip
cpython-5c2db37c20ad62097ffaaea32c7e332484c200e0.tar.gz
cpython-5c2db37c20ad62097ffaaea32c7e332484c200e0.tar.bz2
Issue #7435: Remove duplicate int/long tests, and other
references to long in py3k. Patch provided by flox.
Diffstat (limited to 'Lib/test/test_decimal.py')
-rw-r--r--Lib/test/test_decimal.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py
index f556c79..59757f7 100644
--- a/Lib/test/test_decimal.py
+++ b/Lib/test/test_decimal.py
@@ -1274,7 +1274,7 @@ class DecimalUsabilityTest(unittest.TestCase):
self.assertEqual(repr(d), "Decimal('15.32')") # repr
def test_tonum_methods(self):
- #Test float, int and long methods.
+ #Test float and int methods.
d1 = Decimal('66')
d2 = Decimal('15.32')
@@ -1283,10 +1283,6 @@ class DecimalUsabilityTest(unittest.TestCase):
self.assertEqual(int(d1), 66)
self.assertEqual(int(d2), 15)
- #long
- self.assertEqual(int(d1), 66)
- self.assertEqual(int(d2), 15)
-
#float
self.assertEqual(float(d1), 66)
self.assertEqual(float(d2), 15.32)