summaryrefslogtreecommitdiff
path: root/Lib/test/test_tempfile.py
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2020-10-31 10:17:11 +0900
committerGitHub <noreply@github.com>2020-10-31 10:17:11 +0900
commit9198cc5621a6ebf1e7372aee6a82c65a0fe6da4f (patch)
treee2353d496893ee141bf5b3d2a0f523d3fe6d9db1 /Lib/test/test_tempfile.py
parentb62bdf71ea0cd52041d49691d8ae3dc645bd48e1 (diff)
downloadcpython-git-revert-22997-tempfile-overhead.tar.gz
Revert "bpo-42160: tempfile: Reduce overhead of pid check. (GH-22997)"revert-22997-tempfile-overhead
This reverts commit 8e409cebad42032bb7d0f2cadd8b1e36081d98af.
Diffstat (limited to 'Lib/test/test_tempfile.py')
-rw-r--r--Lib/test/test_tempfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py
index 77d710efaf..8ace883d74 100644
--- a/Lib/test/test_tempfile.py
+++ b/Lib/test/test_tempfile.py
@@ -153,8 +153,8 @@ class TestRandomNameSequence(BaseTestCase):
self.r = tempfile._RandomNameSequence()
super().setUp()
- def test_get_eight_char_str(self):
- # _RandomNameSequence returns a eight-character string
+ def test_get_six_char_str(self):
+ # _RandomNameSequence returns a six-character string
s = next(self.r)
self.nameCheck(s, '', '', '')