File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ def _ensure_supporting_files(self):
135
135
readme_path .write_text (README_CONTENT )
136
136
137
137
gitignore_path = self ._cachedir .joinpath (".gitignore" )
138
- msg = "# Created by pytest automatically.\n *"
138
+ msg = "# Created by pytest automatically.\n *\n "
139
139
gitignore_path .write_text (msg , encoding = "UTF-8" )
140
140
141
141
cachedir_tag_path = self ._cachedir .joinpath ("CACHEDIR.TAG" )
Original file line number Diff line number Diff line change @@ -1029,7 +1029,7 @@ def test_gitignore(testdir):
1029
1029
config = testdir .parseconfig ()
1030
1030
cache = Cache .for_config (config )
1031
1031
cache .set ("foo" , "bar" )
1032
- msg = "# Created by pytest automatically.\n *"
1032
+ msg = "# Created by pytest automatically.\n *\n "
1033
1033
gitignore_path = cache ._cachedir .joinpath (".gitignore" )
1034
1034
assert gitignore_path .read_text (encoding = "UTF-8" ) == msg
1035
1035
You can’t perform that action at this time.
0 commit comments