[docs] Documentation of unittest -p usage wrong on windows. (issue 22812)

zachary.ware at gmail.com zachary.ware at gmail.com
Tue Apr 14 03:54:53 CEST 2015


https://bugs.python.org/review/22812/diff/14527/Lib/unittest/main.py
File Lib/unittest/main.py (right):

https://bugs.python.org/review/22812/diff/14527/Lib/unittest/main.py#newcode233
Lib/unittest/main.py:233: self.pattern[0]==self.pattern[-1]:
Just a style nit, it's best to avoid backslashes wherever you can.  Here
you can do so by wrapping the whole condition in parentheses.

Also, the indentation of the continuation line looks wrong to me, but
I'm honestly not sure what "right" should be.  I seem to think PEP8 says
to indent an extra level from what the suite should be, but I haven't
looked it up again.

https://bugs.python.org/review/22812/


More information about the docs mailing list