renamed test file to allow checkouts on Windows (#35430)

* renamed test file to allow checkouts on Windows

* used different name pattern to fix sanity issues
pull/4420/head
Jordan Borean 2018-01-29 06:22:05 +10:00 committed by GitHub
parent 857d0fd62e
commit d902bd39a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,9 @@ fixture_data = {}
def load_fixture(name): def load_fixture(name):
# convert illegal filenames (both unix and windows to another char)
name = name.replace(':', '_semicolon_')
path = os.path.join(fixture_path, name) path = os.path.join(fixture_path, name)
if path in fixture_data: if path in fixture_data: