Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
skip install-details.json test on wasi and emscripten when not available
Signed-off-by: Filipe Laíns <[email protected]>
  • Loading branch information
FFY00 committed Feb 24, 2024
commit 15f8a1a6d6940a97a7aef920231c8f1f0abab4bc
4 changes: 4 additions & 0 deletions Lib/test/test_install_details_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ def contents(self):
with open(self.location, 'r') as f:
return f.read()

def setUp(self):
if sys.platform in ('wasi', 'emscripten') and not os.path.isfile(self.location):
self.skipTest(f'{sys.platform} build without a install-details.json file')

@needs_installed_python
def test_location(self):
self.assertTrue(os.path.isfile(self.location))
Expand Down