~ubuntu-branches/ubuntu/raring/dulwich/raring

« back to all changes in this revision

Viewing changes to dulwich/tests/compat/test_pack.py

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2011-12-18 21:35:03 UTC
  • mfrom: (1.2.18)
  • Revision ID: package-import@ubuntu.com-20111218213503-a1cmlg9kr1smxgg6
Tags: 0.8.2-1
* Fix Vcs URL.
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
    def setUp(self):
45
45
        require_git_version((1, 5, 0))
46
 
        PackTests.setUp(self)
 
46
        super(TestPack, self).setUp()
47
47
        self._tempdir = tempfile.mkdtemp()
48
 
 
49
 
    def tearDown(self):
50
 
        shutil.rmtree(self._tempdir)
51
 
        PackTests.tearDown(self)
 
48
        self.addCleanup(shutil.rmtree, self._tempdir)
52
49
 
53
50
    def test_copy(self):
54
51
        origpack = self.get_pack(pack1_sha)