summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pyclbr.py
Commit message (Collapse)AuthorAgeFilesLines
* Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake2001-09-201-1/+7
| | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves.
* builtin_dir(): Treat classic classes like types. Use PyDict_Keys insteadTim Peters2001-09-041-1/+1
| | | | | | | | | | | | | | of PyMapping_Keys because we know we have a real dict. Tolerate that objects may have an attr named "__dict__" that's not a dict (Py_None popped up during testing). test_descr.py, test_dir(): Test the new classic-class behavior; beef up the new-style class test similarly. test_pyclbr.py, checkModule(): dir(C) is no longer a synonym for C.__dict__.keys() when C is a classic class (looks like the same thing that burned distutils! -- should it be *made* a synoym again? Then it would be inconsistent with new-style class behavior.).
* Repair Unix-specific assumptions that caused this to fail on Windows.Tim Peters2001-08-131-20/+18
|
* Nick Mathewson: test suite for the class browser support module.Fred Drake2001-08-131-0/+158