~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_setup.py

  • Committer: Ross Lagerwall
  • Date: 2012-08-07 06:32:51 UTC
  • mto: (6437.63.5 2.5)
  • mto: This revision was merged to the branch mainline in revision 6558.
  • Revision ID: rosslagerwall@gmail.com-20120807063251-x9p03ghg2ws8oqjc
Add bzrlib/locale to .bzrignore

bzrlib/locale is generated with ./setup.py build_mo which is in turn called
by ./setup.py build

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Test for setup.py build process"""
18
18
 
19
 
from distutils import version
20
19
import os
21
20
import sys
22
21
import subprocess
80
79
        self.log('stderr: %r', stderr)
81
80
        self.assertEqual(0, p.returncode,
82
81
                         'invocation of %r failed' % args)
83
 
 
84
 
 
85
 
class TestDistutilsVersion(tests.TestCase):
86
 
 
87
 
    def test_version_with_string(self):
88
 
        # We really care about two pyrex specific versions and our ability to
89
 
        # detect them
90
 
        lv = version.LooseVersion
91
 
        self.assertTrue(lv("0.9.4.1") < lv('0.17.beta1'))
92
 
        self.assertTrue(lv("0.9.6.3") < lv('0.10'))