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 d73d077 commit 57cc198Copy full SHA for 57cc198
1 file changed
Lib/test/test_venv.py
@@ -394,11 +394,7 @@ def test_devnull(self):
394
with open(os.devnull, "rb") as f:
395
self.assertEqual(f.read(), b"")
396
397
- # Issue #20541: os.path.exists('nul') is False on Windows
398
- if os.devnull.lower() == 'nul':
399
- self.assertFalse(os.path.exists(os.devnull))
400
- else:
401
- self.assertTrue(os.path.exists(os.devnull))
+ self.assertTrue(os.path.exists(os.devnull))
402
403
def do_test_with_pip(self, system_site_packages):
404
rmtree(self.env_dir)
0 commit comments