MCPcopy Index your code
hub / github.com/nodejs/node / setUp

Method setUp

tools/gyp/test/integration_test.py:48–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 supported_sysnames = {"darwin", "linux"}
47
48 def setUp(self) -> None:
49 if sysname not in TestGypUnix.supported_sysnames:
50 self.skipTest(f"Unsupported system: {sysname}")
51 shutil.rmtree(os.path.join(fixture_dir, "out"), ignore_errors=True)
52
53 def test_ninja(self) -> None:
54 rc = gyp.main(["-f", "ninja", "--depth", fixture_dir, gyp_file])

Callers

nothing calls this directly

Calls 2

skipTestMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected