We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ec7140 commit 9663729Copy full SHA for 9663729
Lib/test/test_difflib.py
@@ -35,6 +35,8 @@ def test_opcode_caching(self):
35
self.assertEqual(opcode,
36
[ ('insert', 0, 0, 0, 1),
37
('equal', 0, 100, 1, 101)])
38
+ # Implementation detail: opcodes are cached;
39
+ # `get_opcodes()` returns the same object
40
self.assertIs(opcode, sm.get_opcodes())
41
42
def test_bjunk(self):
0 commit comments