mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Don't do anything with the diff parser if nothing changes.
This commit is contained in:
@@ -420,7 +420,7 @@ def test_whitespace_at_end(differ):
|
||||
code = dedent('str\n\n')
|
||||
|
||||
differ.initialize(code)
|
||||
differ.parse(code, parsers=1, copies=1)
|
||||
differ.parse(code + '\n', parsers=1, copies=1)
|
||||
|
||||
|
||||
def test_in_class_movements(differ):
|
||||
|
||||
Reference in New Issue
Block a user