Message410802
vstinner wrote:
--------------
>> self.assertEqual(repr(type), '<SocketKind.SOCK_STREAM: 1>')
> For this one, I suggest to replace the value with "..." doctest pattern.
That bit of code is from the unittest suite, not the doctest suite.
I went with:
self.assertEqual(repr(type), '<SocketKind.SOCK_STREAM: %r>' % type.value) |
|
Date |
User |
Action |
Args |
2022-01-17 15:34:10 | ethan.furman | set | recipients:
+ ethan.furman, barry, rhettinger, scoder, vstinner, christian.heimes, ezio.melotti, mrabarnett, eli.bendersky, serhiy.storchaka, The Compiler, veky, mscuthbert, pablogsal, kulikjak, kumaraditya |
2022-01-17 15:34:10 | ethan.furman | set | messageid: <1642433650.16.0.412693387746.issue40066@roundup.psfhosted.org> |
2022-01-17 15:34:10 | ethan.furman | link | issue40066 messages |
2022-01-17 15:34:10 | ethan.furman | create | |
|