MCPcopy Index your code
hub / github.com/python/cpython / wrapped

Function wrapped

Lib/test/test_curses.py:36–39  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

34 def deco(test):
35 @functools.wraps(test)
36 def wrapped(self, *args, **kwargs):
37 if not hasattr(self.stdscr, name):
38 raise unittest.SkipTest('requires curses.window.%s' % name)
39 test(self, *args, **kwargs)
40 return wrapped
41 return deco
42

Calls 3

skipTestMethod · 0.80
testFunction · 0.70
has_colorsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…