~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_version.py

  • Committer: John Arbash Meinel
  • Date: 2008-07-17 22:28:50 UTC
  • mto: This revision was merged to the branch mainline in revision 3561.
  • Revision ID: john@arbash-meinel.com-20080717222850-v7myxoeo6ssh9ph2
trivial tweak of Makefile to use the PYTHON variable

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#
13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
17
17
"""Black-box tests for bzr version."""
18
18
 
76
76
        uni_val, str_val = probe_unicode_in_user_encoding()
77
77
        if uni_val is None:
78
78
            raise TestSkipped('Cannot find a unicode character that works in'
79
 
                              ' encoding %s' % (osutils.get_user_encoding(),))
 
79
                              ' encoding %s' % (bzrlib.user_encoding,))
80
80
 
81
81
        osutils.set_or_unset_env('BZR_HOME', str_val)
82
82
        out = self.run_bzr("version")[0]