Alex Coventry writes: > I don't have any negative tests with garbage input. I'm thinking that > that's not so important anyway, because in python programs tend to break > with garbage input, but of course I'm really punting mainly out of > temporary boredom. :) If an exception is expected, it should test that it gets the right failure. This is especially important in a regression test, so that failing cases don't silently becoming non-failing cases. > Should posixpath.normpath resolve '/..' to '/'? My linux box does. I don't understand; in what context? "/" on my box contains "..", which is itself. There's nothing special about it in the "path algebra," but it may be a useful reduction. -Fred -- Fred L. Drake, Jr. <fdrake at beopen.com> BeOpen PythonLabs Team Member
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