summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2008-02-24 18:47:03 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2008-02-24 18:47:03 +0000
commit6057b2e645dd3b7a262553d5a547ef45d3fc5d93 (patch)
tree2cc98747bc937c53e079e115fa98ee39cddb447f /Python/compile.c
parent6a123cb7827859748a0096570dfbb5ceba0e59dc (diff)
downloadcpython-git-6057b2e645dd3b7a262553d5a547ef45d3fc5d93.tar.gz
Create a db_home directory with a unique name so multiple users can
run the test simultaneously. The simplest thing I found that worked on both Windows and Unix was to use the PID. It's unique so should be sufficient. This should prevent many of the spurious failures of the automated tests since they run as different users. Also cleanup the directory consistenly in the tearDown methods. It would be nice if someone ensured that the directories are always created with a consistent name.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions