MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / assertNotExists

Method assertNotExists

test/common.py:1090–1093  ·  view source on GitHub ↗
(self, filename, msg=None)

Source from the content-addressed store, hash-verified

1088 self.assertTrue(os.path.exists(filename), msg)
1089
1090 def assertNotExists(self, filename, msg=None):
1091 if not msg:
1092 msg = 'Unexpected file exists: ' + filename
1093 self.assertFalse(os.path.exists(filename), msg)
1094
1095 # Tests that the given two paths are identical, modulo path delimiters. E.g. "C:/foo" is equal to "C:\foo".
1096 def assertPathsIdentical(self, path1, path2):

Callers 15

test_emcc_portsMethod · 0.80
test_skip_subcommandsMethod · 0.80
test_multiple_sourcesMethod · 0.80
test_l_linkMethod · 0.80
test_preprocessMethod · 0.80
test_output_eolMethod · 0.80

Calls 1

existsMethod · 0.80

Tested by 15

test_emcc_portsMethod · 0.64
test_skip_subcommandsMethod · 0.64
test_multiple_sourcesMethod · 0.64
test_l_linkMethod · 0.64
test_preprocessMethod · 0.64
test_output_eolMethod · 0.64