(self)
| 73 | |
| 74 | class TestSFbugs(unittest.TestCase): |
| 75 | def test_ratio_for_null_seqn(self): |
| 76 | # Check clearing of SF bug 763023 |
| 77 | s = difflib.SequenceMatcher(None, [], []) |
| 78 | self.assertEqual(s.ratio(), 1) |
| 79 | self.assertEqual(s.quick_ratio(), 1) |
| 80 | self.assertEqual(s.real_quick_ratio(), 1) |
| 81 | |
| 82 | def test_comparing_empty_lists(self): |
| 83 | # Check fix for bug #979794 |
nothing calls this directly
no test coverage detected