]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
test_pyclbr goes nuts when a module contains code to try importing a class
authorPhillip J. Eby <pje@telecommunity.com>
Tue, 18 Apr 2006 01:39:25 +0000 (01:39 +0000)
committerPhillip J. Eby <pje@telecommunity.com>
Tue, 18 Apr 2006 01:39:25 +0000 (01:39 +0000)
commit742cd24c029f1fe84d2a60f84e408c72bd3ed34d
treefd2ded649efda72ad90d37c359f95141c6cc4321
parent9582c148b6bd0ff21678030709f51e7f57b223bd
test_pyclbr goes nuts when a module contains code to try importing a class
and provide a substitute if the import fails, because pyclbr sees the
class definition.  Changed to ignore such cases' base classes and methods,
since they will not match.
Lib/test/test_pyclbr.py