Fixed tox.ini and improved tests and CONTRIBUTING.txt

This commit is contained in:
Jakub Roztocil
2016-01-02 14:07:00 -03:00
parent 34c6958dc8
commit 84b81c00ea
5 changed files with 64 additions and 38 deletions

View File

@ -53,7 +53,7 @@ class TestEnvironment(Environment):
stdout_isatty = True
is_windows = False
_shutil = shutil # needed by __del__ (would get gc'd)
_shutil_rmtree = shutil.rmtree # needed by __del__ (would get gc'd)
def __init__(self, **kwargs):
@ -72,7 +72,7 @@ class TestEnvironment(Environment):
def __del__(self):
if self.delete_config_dir:
self._shutil.rmtree(self.config_dir)
self._shutil_rmtree(self.config_dir)
def http(*args, **kwargs):