~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_index.py

  • Committer: John Arbash Meinel
  • Date: 2011-05-11 11:35:28 UTC
  • mto: This revision was merged to the branch mainline in revision 5851.
  • Revision ID: john@arbash-meinel.com-20110511113528-qepibuwxicjrbb2h
Break compatibility with python <2.6.

This includes auditing the code for places where we were doing
explicit 'sys.version' checks and removing them as appropriate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1056
1056
    def test_supports_unlimited_cache(self):
1057
1057
        builder = index.GraphIndexBuilder(0, key_elements=1)
1058
1058
        stream = builder.finish()
1059
 
        trans = transport.get_transport(self.get_url())
 
1059
        trans = self.get_transport()
1060
1060
        size = trans.put_file('index', stream)
1061
1061
        # It doesn't matter what unlimited_cache does here, just that it can be
1062
1062
        # passed