MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / test_imports2c

Method test_imports2c

tests/test_simpleTipper.py:77–85  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75 self.assertTrue("->" in t[1].strip() or "file" in t[1])
76
77 def test_imports2c(self):
78 try:
79 file # file is not available on py 3
80 except:
81 pass
82 else:
83 tips = _pydev_imports_tipper.generate_tip("%s.file" % BUILTIN_MOD)
84 t = self.assert_in("readlines", tips)
85 self.assertTrue("->" in t[1] or "sizehint" in t[1])
86
87 def test_imports(self):
88 """

Callers

nothing calls this directly

Calls 1

assert_inMethod · 0.95

Tested by

no test coverage detected