mirror of
https://github.com/python/cpython.git
synced 2025-12-09 18:48:05 +00:00
SF patch #474590 -- RISC OS support
This commit is contained in:
parent
c6ac8a78f6
commit
e2ae77b8b8
33 changed files with 256 additions and 188 deletions
|
|
@ -42,7 +42,7 @@ class MaildirTestCase(unittest.TestCase):
|
|||
t = int(time.time() % 1000000)
|
||||
pid = self._counter
|
||||
self._counter += 1
|
||||
filename = "%s.%s.myhostname.mydomain" % (t, pid)
|
||||
filename = os.extsep.join((str(t), str(pid), "myhostname", "mydomain"))
|
||||
tmpname = os.path.join(self._dir, "tmp", filename)
|
||||
newname = os.path.join(self._dir, dir, filename)
|
||||
fp = open(tmpname, "w")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue