summaryrefslogtreecommitdiff
path: root/Lib/test/test_mailbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_mailbox.py')
-rw-r--r--Lib/test/test_mailbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py
index b9887ca7e7..57a831631e 100644
--- a/Lib/test/test_mailbox.py
+++ b/Lib/test/test_mailbox.py
@@ -39,7 +39,7 @@ class MaildirTestCase(unittest.TestCase):
os.rmdir(self._dir)
def createMessage(self, dir):
- t = int(time.time())
+ t = int(time.time() % 1000000)
pid = self._counter
self._counter += 1
filename = "%s.%s.myhostname.mydomain" % (t, pid)