Commits

Anonymous committed 3491a3b

Remove uuid and use nodeid instead for python 2.4.

Comments (0)

Files changed (1)

pytest_cov/pytest_cov.py

     """Implementation for distributed slaves."""
 
     def sessionstart(self, session):
-        import uuid
         import socket
         import coverage
 
         else:
             self.data_file = session.config.getvalue('cov_data_file')
 
-        self.data_suffix = uuid.uuid1().hex
+        self.data_suffix = session.nodeid
 
         if session.config.getvalue('cov_config'):
             config_file = session.config.getvalue('cov_config_file')