summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_fractions.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_fractions.py')
-rw-r--r--Lib/test/test_fractions.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/test/test_fractions.py b/Lib/test/test_fractions.py
index 811b58f..0845f79 100644
--- a/Lib/test/test_fractions.py
+++ b/Lib/test/test_fractions.py
@@ -724,17 +724,6 @@ class FractionTest(unittest.TestCase):
self.assertEqual(type(f.numerator), myint)
self.assertEqual(type(f.denominator), myint)
- def test_is_integer(self):
- # Issue #26680: Incorporating number.is_integer into Fraction
- self.assertTrue(F(-1, 1).is_integer())
- self.assertTrue(F(0, 1).is_integer())
- self.assertTrue(F(1, 1).is_integer())
- self.assertTrue(F(42, 1).is_integer())
- self.assertTrue(F(2, 2).is_integer())
- self.assertTrue(F(8, 4).is_integer())
- self.assertFalse(F(1, 2).is_integer())
- self.assertFalse(F(1, 3).is_integer())
- self.assertFalse(F(2, 3).is_integer())
if __name__ == '__main__':
unittest.main()