~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/__init__.py

  • Committer: Martin Pool
  • Date: 2005-07-06 00:38:13 UTC
  • Revision ID: mbp@sourcefrog.net-20050706003813-3994f3d9e806a259
- better error when failing to run selftest on python2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    import shutil
22
22
    from subprocess import call, Popen, PIPE
23
23
except ImportError, e:
 
24
    import sys
24
25
    sys.stderr.write("testbzr: sorry, this test suite requires the subprocess module\n"
25
26
                     "this is shipped with python2.4 and available separately for 2.3\n")
26
27
    raise