~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_version.py

Use global osutils, otherwise it creates a local var.

Which works, but causes us to run the import on every call.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        out = sio.getvalue()
47
47
        m = re.search(r"Python interpreter: (.*) [0-9]", out)
48
48
        self.assertIsNot(m, None)
49
 
        self.assertPathExists(m.group(1))
 
49
        self.failUnlessExists(m.group(1))