~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testhashcache.py

  • Committer: Robert Collins
  • Date: 2005-11-27 22:38:34 UTC
  • mfrom: (1185.33.36 bzr.dev)
  • Revision ID: robertc@robertcollins.net-20051127223834-d00ecca0d0b9384a
Merge from mpool, adjusting check to retain HTTP support.

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