Remove some unused 'tmpdir's

This commit is contained in:
Matthew Hughes
2021-02-20 18:01:42 +00:00
parent 4964b468c8
commit 0e5e4e03e6
3 changed files with 3 additions and 5 deletions

View File

@@ -234,7 +234,7 @@ class TestMockDecoration:
@mock.patch("os.path.abspath")
@mock.patch("os.path.normpath")
@mock.patch("os.path.basename", new=mock_basename)
def test_someting(normpath, abspath, tmpdir):
def test_someting(normpath, abspath):
abspath.return_value = "this"
os.path.normpath(os.path.abspath("hello"))
normpath.assert_any_call("this")