Skip to content

Commit 738bd0a

Browse files
lkollarAA-Turner
andcommitted
Update Lib/test/test_profiling/test_sampling_profiler.py
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent 8882b27 commit 738bd0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_profiling/test_sampling_profiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,7 @@ def test_valid_output_formats(self):
19011901
valid_formats = ["pstats", "collapsed", "flamegraph"]
19021902

19031903
tempdir = tempfile.TemporaryDirectory(delete=False)
1904-
self.addCleanup(lambda x: shutil.rmtree(x), tempdir.name)
1904+
self.addCleanup(shutil.rmtree, tempdir.name)
19051905

19061906

19071907
with contextlib.chdir(tempdir.name):

0 commit comments

Comments
 (0)