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

Method test_unused_complex

test/tools/test_checkimports.py:44–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42 output);
43
44 def test_unused_complex(self):
45 with captured_output() as (out, _err):
46 self.assertEqual(is_valid(path.join(self.fixturesDir, 'maybe.cc')),
47 False)
48 output = out.getvalue()
49 self.assertIn('does not use "Local"', output);
50
51 def test_unused_simple(self):
52 with captured_output() as (out, _err):

Callers

nothing calls this directly

Calls 3

is_validFunction · 0.90
captured_outputFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected