mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Whitespace normalization.
This commit is contained in:
parent
4030714a93
commit
a0d55de877
2 changed files with 11 additions and 8 deletions
|
@ -268,7 +268,7 @@ class test__mkstemp_inner(TC):
|
|||
def __del__(self):
|
||||
self._close(self.fd)
|
||||
self._unlink(self.name)
|
||||
|
||||
|
||||
def do_create(self, dir=None, pre="", suf="", bin=1):
|
||||
if dir is None:
|
||||
dir = tempfile.gettempdir()
|
||||
|
@ -485,7 +485,7 @@ class test_mkdtemp(TC):
|
|||
os.rmdir(self.do_create(suf="b"))
|
||||
os.rmdir(self.do_create(pre="a", suf="b"))
|
||||
os.rmdir(self.do_create(pre="aa", suf=".txt"))
|
||||
|
||||
|
||||
def test_basic_many(self):
|
||||
"""mkdtemp can create many directories (stochastic)"""
|
||||
extant = range(1000)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue