• Paul Ganssle's avatar
    Add test for cache_path race condition · bb36b418
    Paul Ganssle authored
    This mocks out the isdir call so that the directory is created
    immediately after you determine whether or not it exists, thus
    simulating a race condition between two threads or processes
    creating the same directory.
    bb36b418
test_pkg_resources.py 7.73 KB