call tempdir

This commit is contained in:
christopher 2018-07-17 11:57:09 -04:00
parent d3cbbc52c0
commit 3fef5198c8

View file

@ -11,7 +11,7 @@ def test_indir():
assert ![pwd].output.strip() != tmpdir
def test_rmtree():
with tempfile.TemporaryDirectory as tmpdir:
with tempfile.TemporaryDirectory() as tmpdir:
with indir(tmpdir):
mkdir rmtree_test
pushd rmtree_test