(self)
| 1949 | self.assertEqual(round(5e15+3), 5e15+3) |
| 1950 | |
| 1951 | def test_bug_27936(self): |
| 1952 | # Verify that ndigits=None means the same as passing in no argument |
| 1953 | for x in [1234, |
| 1954 | 1234.56, |
| 1955 | decimal.Decimal('1234.56'), |
| 1956 | fractions.Fraction(123456, 100)]: |
| 1957 | self.assertEqual(round(x, None), round(x)) |
| 1958 | self.assertEqual(type(round(x, None)), type(round(x))) |
| 1959 | |
| 1960 | def test_setattr(self): |
| 1961 | setattr(sys, 'spam', 1) |
nothing calls this directly
no test coverage detected