<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-coveragepy-git.git/tests, branch 7.2.3</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>fix: save coverage data on SIGTERM (#1600)</title>
<updated>2023-04-06T10:58:16+00:00</updated>
<author>
<name>Lewis Gaul</name>
<email>lewis.gaul@gmail.com</email>
</author>
<published>2023-04-06T10:58:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=f27c9ca775173d32bf71aeca9075c70f893b6542'/>
<id>f27c9ca775173d32bf71aeca9075c70f893b6542</id>
<content type='text'>
* Add test that reproduces the issue

* Suggested fix - always save data in sigterm exit flow

* Address test failures on MacOS due to lack of 'Terminated' output on SIGTERM</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add test that reproduces the issue

* Suggested fix - always save data in sigterm exit flow

* Address test failures on MacOS due to lack of 'Terminated' output on SIGTERM</pre>
</div>
</content>
</entry>
<entry>
<title>docs: more tweaking of the gold-file instructions</title>
<updated>2023-04-01T12:59:23+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-04-01T12:47:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=acd1e0310b32deb55cff221da172ce91c70c8794'/>
<id>acd1e0310b32deb55cff221da172ce91c70c8794</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>perf: make the context shortcodes even shorter</title>
<updated>2023-04-01T12:59:23+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-04-01T12:22:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=b8498bf9c144344fd70cbb6e72c13e65c13b5e48'/>
<id>b8498bf9c144344fd70cbb6e72c13e65c13b5e48</id>
<content type='text'>
On the coverage.py metacov, this makes the HTML 5% smaller.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On the coverage.py metacov, this makes the HTML 5% smaller.
</pre>
</div>
</content>
</entry>
<entry>
<title>style: clean up #1587</title>
<updated>2023-03-22T17:58:58+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-03-22T17:12:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=63f3e495b184ebd9aa4c9d757fb78ed148580d29'/>
<id>63f3e495b184ebd9aa4c9d757fb78ed148580d29</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: put contexts dict in &lt;script&gt; and reveal them using JavaScript (#1587)</title>
<updated>2023-03-22T16:42:35+00:00</updated>
<author>
<name>Oleh Krehel</name>
<email>ohwoeowho@gmail.com</email>
</author>
<published>2023-03-22T16:42:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=d6cb1cdca6d15f5ec02eb6708314589290321faf'/>
<id>d6cb1cdca6d15f5ec02eb6708314589290321faf</id>
<content type='text'>
* Put contexts dict in &lt;script&gt; and reveal them using JavaScript

Fixes #1584

* Address review comments

* coverage/htmlfiles/style.css: Align the contexts to the right

* coverage/htmlfiles/style.scss: Match style.css

* coverage/html.py: Fix linting and mypy errors

* two_tests_py.html: make update-gold</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Put contexts dict in &lt;script&gt; and reveal them using JavaScript

Fixes #1584

* Address review comments

* coverage/htmlfiles/style.css: Align the contexts to the right

* coverage/htmlfiles/style.scss: Match style.css

* coverage/html.py: Fix linting and mypy errors

* two_tests_py.html: make update-gold</pre>
</div>
</content>
</entry>
<entry>
<title>test: check the HTML for context output</title>
<updated>2023-03-21T13:01:50+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-03-21T12:51:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=eaa3c8adf13d3cfa0e83a6230b445a6ac54109de'/>
<id>eaa3c8adf13d3cfa0e83a6230b445a6ac54109de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: provide more guidance about working with gold files</title>
<updated>2023-03-21T13:01:48+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-03-21T12:36:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=019f0996ec3dcfd6c8237b336ac8d81256e58239'/>
<id>019f0996ec3dcfd6c8237b336ac8d81256e58239</id>
<content type='text'>
And make it easier to add new gold tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And make it easier to add new gold tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: don't measure all third-party packages if source is in third-party location</title>
<updated>2023-03-15T09:48:29+00:00</updated>
<author>
<name>Manuel Jacob</name>
<email>me@manueljacob.de</email>
</author>
<published>2023-02-21T02:03:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=4574ecf128ae51c2b950f6c9cb2486b86f5354e7'/>
<id>4574ecf128ae51c2b950f6c9cb2486b86f5354e7</id>
<content type='text'>
There is logic to not measure third-party packages inside configured sources. However, when a (i.e. another) configured source was inside a third-party location, this logic was previously disabled completely.

This caused a problem if a virtual env is set up inside a configured source directory and a configured source package gets installed inside the virtual env. Previously in this case, coverage was measured for all files in the virtual env for the reason described in the previous paragraph.

This commit changes the code to collect all configured source directories inside third-party locations and disable coverage for code in third-party locations only if its not in one of these collected source directories.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is logic to not measure third-party packages inside configured sources. However, when a (i.e. another) configured source was inside a third-party location, this logic was previously disabled completely.

This caused a problem if a virtual env is set up inside a configured source directory and a configured source package gets installed inside the virtual env. Previously in this case, coverage was measured for all files in the virtual env for the reason described in the previous paragraph.

This commit changes the code to collect all configured source directories inside third-party locations and disable coverage for code in third-party locations only if its not in one of these collected source directories.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: generate xml report packages correctly on windows (#1574)</title>
<updated>2023-03-14T23:55:47+00:00</updated>
<author>
<name>Benjamin Parzella</name>
<email>bparzella@gmail.com</email>
</author>
<published>2023-03-14T23:55:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=45d76fa644b9f2e082de1721a55f91eacdcdc520'/>
<id>45d76fa644b9f2e082de1721a55f91eacdcdc520</id>
<content type='text'>
* fix: generate xml report packages correctly on windows

* test: check duplicate package names in xml report

* fix: shorten long line in test_xml</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fix: generate xml report packages correctly on windows

* test: check duplicate package names in xml report

* fix: shorten long line in test_xml</pre>
</div>
</content>
</entry>
<entry>
<title>Fix lcov coverage</title>
<updated>2023-03-14T09:55:25+00:00</updated>
<author>
<name>Ian Moore</name>
<email>ianmoore@google.com</email>
</author>
<published>2023-03-13T23:24:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=f0a8b6ffe07b24398ab01b2fb8654572966fa5f4'/>
<id>f0a8b6ffe07b24398ab01b2fb8654572966fa5f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
