mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 13:16:45 +02:00
22 lines
494 B
Diff
22 lines
494 B
Diff
Bug-report: https://github.com/miracle2k/python-glob2/issues/30
|
|
|
|
--- a/test.py
|
|
+++ b/test.py
|
|
@@ -46,7 +46,7 @@
|
|
|
|
class BaseTest(object):
|
|
|
|
- def setup(self):
|
|
+ def setup_method(self):
|
|
self.basedir = tempfile.mkdtemp()
|
|
self._old_cwd = os.getcwd()
|
|
os.chdir(self.basedir)
|
|
@@ -56,7 +56,7 @@
|
|
def setup_files(self):
|
|
pass
|
|
|
|
- def teardown(self):
|
|
+ def teardown_method(self):
|
|
os.chdir(self._old_cwd)
|
|
shutil.rmtree(self.basedir)
|
|
|