• Éric Araujo's avatar
    Stop binding sys.path as default parameter value in packaging. · bd1b2ac5
    Éric Araujo authored
    The two public functions in database default to sys.path if the given
    *paths* argument is None; the private functions don’t have default
    values for their arguments anymore, which is fine as the public
    functions that call them pass their arguments down.  Likewise in
    install, the functions will pass down their *paths* arguments down to
    database functions.
    
    A one-line unneeded function in install was removed instead of being
    changed, and the few remaining tests that used brute-force restoration
    of sys.path have been cleaned up to use sys.path.remove.
    bd1b2ac5
test_database.py 26.9 KB