ned / coverage.py (http://nedbatchelder.com/code/coverage)

Coverage.py measures Python code coverage, typically during test execution. Kits are at PyPI: http://pypi.python.org/pypi/coverage/.

Clone this repository (size: 2.3 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/ned/coveragepy/
commit 686: 2d69ef628010
parent 685: b4502b43f653
branch: default
tidy
Ned Batchelder / ned
3 months ago

Changed (Δ1 byte):

raw changeset »

coverage/control.py (1 lines added, 1 lines removed)

Up to file-list coverage/control.py:

@@ -101,7 +101,7 @@ class coverage(object):
101
101
            if not isinstance(data_suffix, string_class):
102
102
                # if data_suffix=True, use .machinename.pid.random
103
103
                data_suffix = "%s.%s.%06d" % (
104
                    socket.gethostname(), os.getpid(), random.randint(0, 999999)
104
                    socket.gethostname(), os.getpid(), random.randint(0, 99999)
105
105
                    )
106
106
        else:
107
107
            data_suffix = None