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 b25f602 commit f13b10fCopy full SHA for f13b10f
1 file changed
Lib/test/test_venv.py
@@ -138,14 +138,9 @@ def _check_output_of_default_create(self):
138
self.isdir(self.bindir)
139
self.isdir(self.include)
140
self.isdir(*self.lib)
141
- # Issue 21197
142
p = self.get_env_file('lib64')
143
- conditions = ((struct.calcsize('P') == 8) and (os.name == 'posix') and
144
- (sys.platform != 'darwin'))
145
- if conditions:
146
- self.assertTrue(os.path.islink(p))
147
- else:
148
- self.assertFalse(os.path.exists(p))
+ if os.path.exists(p):
+ self.assertFalse(os.path.islink(p))
149
data = self.get_text_file_contents('pyvenv.cfg')
150
executable = sys._base_executable
151
path = os.path.dirname(executable)
0 commit comments