Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/test_typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -7221,9 +7221,8 @@ def test_alias_names_still_exist(self):
def test_typing_extensions_compiles_with_opt(self):
file_path = typing_extensions.__file__
try:
subprocess.check_output(f'{sys.executable} -OO {file_path}',
stderr=subprocess.STDOUT,
shell=True)
subprocess.check_output([sys.executable, '-OO', file_path],
stderr=subprocess.STDOUT)
except subprocess.CalledProcessError: # pragma: no cover
self.fail('Module does not compile with optimize=2 (-OO flag).')

Expand Down
Loading