Skip to content

Commit

Permalink
style: match quotation marks
Browse files Browse the repository at this point in the history
  • Loading branch information
mawillcockson committed Dec 4, 2021
1 parent a712de7 commit 4de697e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
files = tracked
for filename in map(posixpath.normpath, files):
print(filename, end="\\0")
print(filename, end='\\0')
"""

MODULE1_TOML_FILES = ["EG_README.rst", "module1.py", "pyproject.toml"]
MODULE1_TOML_FILES = ['EG_README.rst', 'module1.py', 'pyproject.toml']

def make_git_script(
tracked = MODULE1_TOML_FILES,
untracked_deleted = ["dist/module1-0.1.tar.gz"]
untracked_deleted = ['dist/module1-0.1.tar.gz']
):
return LIST_FILES_TEMPLATE.format(
python=sys.executable,
Expand Down Expand Up @@ -97,9 +97,9 @@ def test_build_module_no_docstring():
shutil.copy(str(samples_dir / 'EG_README.rst'), td)
Path(td, '.git').mkdir() # Fake a git repo
tracked = [
"pyproject.toml",
"no_docstring.py",
"EG_README.rst",
'pyproject.toml',
'no_docstring.py',
'EG_README.rst',
]

with MockCommand('git', make_git_script(tracked=tracked)):
Expand Down

0 comments on commit 4de697e

Please sign in to comment.