[Python-Dev] [Python-checkins] cpython (2.7): PDB now will properly escape backslashes in the names of modules it executes. (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Wed Dec 7 19:33:57 CET 2011


I think we have an unwritten rule that test class and method names should tell something about what they test. (We do have things like TestWeirdBugs and test12345, but I don’t think it’s a useful pattern to follow :)

I completely disagree. test_12345 is a very good name for a test case, in particular if it tests the value of a tau constant in the math module. There can't be any more precise documentation of the test purpose.

Regards, Martin



More information about the Python-Dev mailing list