[Guido] > I think I understand the problem, and I've checked something in that > makes the test pass, by insisting that the match raise RuntimeError > with a specific error message. This is what was tested before; that > particular error message was part of the expected output in > Lib/test/output/test_re, which is now no longer needed and which I > have hence deleted. That's all exactly right. Thanks! > (Hmm, I wonder if there are any other files in Lib/test/output that > are no longer needed? All those files should eventually disappear...) Fred used to keep good track of this, so I doubt there's a big backlog. I expect the best candidates are those (like the re tests) recently converted to unittest. Getting rid of expected-output files should be part of such a conversion (or of a conversion to doctest). OTOH, the expected-output kind of test remains fine by me! It used to be very painful to see what went wrong when things failed, but quite some time ago that mechanism was reworked to save all the output and display a diff instead.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4