Skip to content

Commit 2f636a9

Browse files
committed
Fix lint errors
1 parent 3a9a342 commit 2f636a9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lib/test/test_venv.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -384,13 +384,13 @@ def test_version_match_no_warning(self):
384384
Test that no warning is emitted when the venv version matches.
385385
"""
386386
rmtree(self.env_dir)
387-
387+
388388
self.run_with_capture(venv.create, self.env_dir, with_pip=False)
389389
cfg_path = self.get_env_file('pyvenv.cfg')
390390
with open(cfg_path, 'r', encoding='utf-8') as f:
391391
cfg_content = f.read()
392392
expected_version = f"{sys.version_info.major}.{sys.version_info.minor}"
393-
393+
394394
with open(cfg_path, 'w', encoding='utf-8') as f:
395395
f.write(cfg_content)
396396
envpy = self.envpy(real_env_dir=True)
@@ -402,7 +402,7 @@ def test_version_match_no_warning(self):
402402
)
403403

404404
self.assertNotIn("Consider running `python -m venv --upgrade`", proc.stderr)
405-
405+
406406
@requireVenvCreate
407407
def test_malformed_version_warning(self):
408408
"""
@@ -462,7 +462,7 @@ def test_malformed_version_info_warning(self):
462462
)
463463

464464
self.assertIn("Malformed version_info string", proc.stderr)
465-
self.assertIn(malformed_version, proc.stderr)
465+
self.assertIn(malformed_version, proc.stderr)
466466

467467
@requireVenvCreate
468468
def test_conflicting_version_fields(self):

0 commit comments

Comments
 (0)