Skip to content
Browse files

Fix on Windows.

MockInputApi was returning MockFile objects instead of strings
from LocalPaths() API, which apparently trips up Windows Python
APIs, but not Unix ones.

Bug: 984360
Change-Id: I0a14cc07a9406d84d6b20d104d002fe67cc4ae86
Reviewed-by: Dirk Pranke <>
Reviewed-by: Gabriel Charette <>
Commit-Queue: Alexei Svitkine <>
Cr-Commit-Position: refs/heads/master@{#678454}
  • Loading branch information
asvitkine-chromium authored and Commit Bot committed Jul 17, 2019
1 parent c422eb1 commit 137d4c668be26627729595a8512d7c073faad5d8
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -111,7 +111,7 @@ def FilterSourceFile(self, file, white_list=(), black_list=()):
return found_in_white_list

def LocalPaths(self):
return self.files
return [file.LocalPath() for file in self.files]

def PresubmitLocalPath(self):
return self.presubmit_local_path

0 comments on commit 137d4c6

Please sign in to comment.
You can’t perform that action at this time.