Skip to content

Commit

Permalink
1.6.1dev: fix not removing temporary directory on `TracAdminTestCase.…
Browse files Browse the repository at this point in the history
…tearDown`

git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/1.6-stable@17825 af82e41b-90c4-0310-8c96-b1721e28e2e2
  • Loading branch information
jomae committed Jun 24, 2024
1 parent 7a8ff69 commit 70a1906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trac/wiki/tests/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@

import os.path
import sys
import tempfile
import unittest

from trac.admin.api import console_datetime_format
from trac.admin.console import TracAdmin
from trac.admin.test import TracAdminTestCaseBase
from trac.test import EnvironmentStub, makeSuite, mkdtemp
from trac.test import EnvironmentStub, makeSuite, mkdtemp, rmtree
from trac.tests.contentgen import random_unique_camel, random_paragraph
from trac.util import create_file
from trac.util.datefmt import format_datetime
Expand Down Expand Up @@ -125,6 +124,7 @@ def setUp(self):

def tearDown(self):
self.env = None
rmtree(self.tempdir)

def _insert_page(self, name=None):
page = WikiPage(self.env)
Expand Down

0 comments on commit 70a1906

Please sign in to comment.