/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

  • Committer: Martin Pool
  • Date: 2009-01-13 05:16:26 UTC
  • mfrom: (3936 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3940.
  • Revision ID: mbp@sourcefrog.net-20090113051626-0d5q6luqdoyx4xaf
Fix recommend_upgrade ui and merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
764
764
        self.assertEqual(['foo\n', 'bar\n', 'baz\n'],
765
765
                         osutils.chunks_to_lines(['foo\n', 'bar\n', 'baz\n']))
766
766
 
767
 
    def test_is_compiled(self):
768
 
        from bzrlib.tests.test__chunks_to_lines import CompiledChunksToLinesFeature
769
 
        if CompiledChunksToLinesFeature:
 
767
    def test_osutils_binding(self):
 
768
        from bzrlib.tests import test__chunks_to_lines
 
769
        if test__chunks_to_lines.CompiledChunksToLinesFeature.available():
770
770
            from bzrlib._chunks_to_lines_pyx import chunks_to_lines
771
771
        else:
772
772
            from bzrlib._chunks_to_lines_py import chunks_to_lines