Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

## Delta Between Two Patch Sets: Lib/test/test_numeric_tower.py

Issue 7652: Merge C version of decimal into py3k.
Left Patch Set: Created 8 years, 1 month ago
Right Patch Set: Created 7 years, 10 months ago
 Left: Base Patch Set 1: None Patch Set 2: None Patch Set 3: None Patch Set 4: None Patch Set 5: None Patch Set 6: None Patch Set 7: None Patch Set 8: None Patch Set 9: None Patch Set 10: None Patch Set 11: None Patch Set 12: None Right: Patch Set 1: None Patch Set 2: None Patch Set 3: None Patch Set 4: None Patch Set 5: None Patch Set 6: None Patch Set 7: None Patch Set 8: None Patch Set 9: None Patch Set 10: None Patch Set 11: None Patch Set 12: None
« no previous file with change/comment | « Lib/test/test_fractions.py ('k') | Misc/valgrind-python.supp » ('j') | no next file with change/comment »
LEFTRIGHT
1 # test interactions between int, float, Decimal and Fraction 1 # test interactions between int, float, Decimal and Fraction
2 2
3 import unittest 3 import unittest
4 import random 4 import random
5 import math 5 import math
6 import sys 6 import sys
7 import operator 7 import operator
8 from test.support import run_unittest 8 from test.support import run_unittest
9 9
10 from decimal import Decimal as D 10 from decimal import Decimal as D
(...skipping 186 matching lines...)
197 for op in operator.le, operator.lt, operator.ge, operator.gt: 197 for op in operator.le, operator.lt, operator.ge, operator.gt:
198 self.assertRaises(TypeError, op, z, v) 198 self.assertRaises(TypeError, op, z, v)
199 self.assertRaises(TypeError, op, v, z) 199 self.assertRaises(TypeError, op, v, z)
200 200
201 201
202 def test_main(): 202 def test_main():
203 run_unittest(HashTest, ComparisonTest) 203 run_unittest(HashTest, ComparisonTest)
204 204
205 if __name__ == '__main__': 205 if __name__ == '__main__':
206 test_main() 206 test_main()
LEFTRIGHT

This is Rietveld 894c83f36cb7+