

def test_read_file_with_diff(self):
    PATCH = 'diff --git a/FOO b/FOO\nindex e69de29..d0c77a5 100644\n--- a/FOO\n+++ b/FOO\n@@ -0,0 +1 @@\n+blah\ndiff --git a/FOO1 b/FOO1\nindex e69de29..d0c77a5 100644\n--- a/FOO1\n+++ b/FOO1\n@@ -1,1 +1 @@\n-blah\n+blah\n'
    vcs = vcs.get_vcs()
    vcs.clone()
    vcs.update()
    assert (vcs.read_file('HEAD', 'FOO', diff=PATCH) == 'blah\n')

dataset/ETHPy150Open dropbox/changes/tests/changes/vcs/test_git.py GitVcsTest.test_read_file_with_diff/VarMisuse@16/159 `self`->`vcs`