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

Method test_others

Lib/test/test_pyclbr.py:242–260  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

240 compare(None, actual, None, expected)
241
242 def test_others(self):
243 cm = self.checkModule
244
245 # These were once some of the longest modules.
246 cm('random', ignore=('Random',)) # from _random import Random as CoreGenerator
247 cm('pickle', ignore=('partial', 'PickleBuffer'))
248 with temporary_main_spec():
249 cm(
250 'pdb',
251 # pyclbr does not handle elegantly `typing` or properties
252 ignore=('Union', '_ModuleTarget', '_ScriptTarget', '_ZipTarget', 'curframe_locals',
253 '_InteractState', 'rlcompleter'),
254 )
255 cm('pydoc', ignore=('input', 'output', # properties
256 'getpager', 'plainpager', )) # aliases
257
258 # Tests for modules inside packages
259 cm('email.parser')
260 cm('test.test_pyclbr')
261
262
263class ReadmoduleTests(TestCase):

Callers

nothing calls this directly

Calls 2

cmClass · 0.85
temporary_main_specFunction · 0.85

Tested by

no test coverage detected