<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-coveragepy-git.git/tests/test_process.py, branch 6.2</title>
<subtitle>github.com: nedbat/coveragepy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/'/>
<entry>
<title>test(refactor): avoid full commands to speed tests</title>
<updated>2021-11-26T17:28:54+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-11-26T16:21:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=9162ad085c0e4a3b3e14fd1fcbdbf65c93b81487'/>
<id>9162ad085c0e4a3b3e14fd1fcbdbf65c93b81487</id>
<content type='text'>
Also btw, I think some of these tests are duplicative.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also btw, I think some of these tests are duplicative.
</pre>
</div>
</content>
</entry>
<entry>
<title>test(perf): shave a few seconds off the FailUnder tests</title>
<updated>2021-11-26T11:26:18+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-11-26T01:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=8ca306e93b40ae815bdcca96f8f6d8748dd52790'/>
<id>8ca306e93b40ae815bdcca96f8f6d8748dd52790</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test(refactor): if two skips apply, put the more significant reason closer to the def</title>
<updated>2021-11-21T14:46:42+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-11-21T14:46:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=39a2b1b171d7571a8ac87bbcf220d29ea5548018'/>
<id>39a2b1b171d7571a8ac87bbcf220d29ea5548018</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(test): make .pth files once per session</title>
<updated>2021-11-21T13:15:29+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-11-21T12:44:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=0922240cfb5e549a83f56a12629a16ad3fe2b498'/>
<id>0922240cfb5e549a83f56a12629a16ad3fe2b498</id>
<content type='text'>
The old way, we made and deleted .pth file around each test.  This
caused problems because pth files are written to a common location
shared by all test workers, so tests would fail because pth files were
being deleted as other workers were trying to use them.

Now we make the pth file once per session.  There's still a chance that
a worker will be using a pth file just as another worker is ending and
removing it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old way, we made and deleted .pth file around each test.  This
caused problems because pth files are written to a common location
shared by all test workers, so tests would fail because pth files were
being deleted as other workers were trying to use them.

Now we make the pth file once per session.  There's still a chance that
a worker will be using a pth file just as another worker is ending and
removing it.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(test): move unicode handling tests to individual test files</title>
<updated>2021-11-21T00:36:58+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-11-20T23:46:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=7345085c3983f5f7d05f64da1af8e43da3dc5639'/>
<id>7345085c3983f5f7d05f64da1af8e43da3dc5639</id>
<content type='text'>
Eight fewer sub-processes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Eight fewer sub-processes
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: add_lines only needs an iterable of ints</title>
<updated>2021-11-13T17:05:08+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-11-13T16:54:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=9a72bf4bc964bc8062627d6ecd6fb8c8d1e5dec6'/>
<id>9a72bf4bc964bc8062627d6ecd6fb8c8d1e5dec6</id>
<content type='text'>
The old code expected a dict with int keys, but iterables are simpler, so get
rid of a lot of dict.fromkeys() nonsense.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old code expected a dict with int keys, but iterables are simpler, so get
rid of a lot of dict.fromkeys() nonsense.
</pre>
</div>
</content>
</entry>
<entry>
<title>test(fix): make the fullcoverage test work on 3.11</title>
<updated>2021-11-13T01:16:27+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-11-13T01:16:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=52efb4de5e9f0ff37eeda9471d7c3aa26edfdd38'/>
<id>52efb4de5e9f0ff37eeda9471d7c3aa26edfdd38</id>
<content type='text'>
It didn't work because the os module is frozen on 3.11, so it gets no
measurement.  Use -X to disable the frozen modules feature for the test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It didn't work because the os module is frozen on 3.11, so it gets no
measurement.  Use -X to disable the frozen modules feature for the test.
</pre>
</div>
</content>
</entry>
<entry>
<title>style: convert more string formatting to f-strings</title>
<updated>2021-11-11T12:23:36+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-11-11T12:23:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=1b94835aac3268a32bfa4ce0df585dbb97457a06'/>
<id>1b94835aac3268a32bfa4ce0df585dbb97457a06</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: CPython 3.11 support. #1241</title>
<updated>2021-11-10T23:45:37+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-11-10T12:39:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=9765493020e6292599e272978a25935dd4d0fa88'/>
<id>9765493020e6292599e272978a25935dd4d0fa88</id>
<content type='text'>
The fix for CTracer is egregious and will need to be updated when there's a
supported way to do it.

The fullcoverage skip is noted in
https://github.com/nedbat/coveragepy/issues/1278

The raise_through_with skip is noted in
https://github.com/nedbat/coveragepy/issues/1270
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fix for CTracer is egregious and will need to be updated when there's a
supported way to do it.

The fullcoverage skip is noted in
https://github.com/nedbat/coveragepy/issues/1278

The raise_through_with skip is noted in
https://github.com/nedbat/coveragepy/issues/1270
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(test): convert eight tests to one parametrized test</title>
<updated>2021-11-07T23:22:06+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-11-07T23:22:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=2afc907abac4fe413ac53e6854d433e1c03bf720'/>
<id>2afc907abac4fe413ac53e6854d433e1c03bf720</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
