~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testhashcache.py

[merge] win32 fixes (alexey)

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
17
17
import os
 
18
import sys
18
19
import time
19
20
from bzrlib.selftest import TestCaseInTempDir
20
21
 
28
29
def pause():
29
30
    if False:
30
31
        return
31
 
    if os.name == 'nt':
 
32
    if sys.platform in ('win32', 'cygwin'):
32
33
        time.sleep(3)
33
34
        return
34
35
    # allow it to stabilize