We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7e57f3 commit e3bd8e8Copy full SHA for e3bd8e8
tests/unit/create/test_creator.py
@@ -217,7 +217,11 @@ def list_to_str(iterable):
217
assert result == "None"
218
219
git_ignore = (dest / ".gitignore").read_text(encoding="utf-8")
220
- assert git_ignore.splitlines() == ["# created by virtualenv automatically", "*"]
+ if creator_key == "venv" and sys.version_info >= (3, 13):
221
+ comment = "# Created by venv; see https://docs.python.org/3/library/venv.html"
222
+ else:
223
+ comment = "# created by virtualenv automatically"
224
+ assert git_ignore.splitlines() == [comment, "*"]
225
226
227
def test_create_vcs_ignore_exists(tmp_path):
0 commit comments