<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/zope-interface.git/src/zope/interface/tests/test_adapter.py, branch issue158</title>
<subtitle>github.com: zopefoundation/zope.interface.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/'/>
<entry>
<title>Test PURE_PYTHON at runtime.</title>
<updated>2020-01-21T15:38:45+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-01-21T13:59:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=e76d03f51909c2b3f8cdad38eb91fa5f523b5e2e'/>
<id>e76d03f51909c2b3f8cdad38eb91fa5f523b5e2e</id>
<content type='text'>
Turns out that the C extensions build and work fine with PyPy, but don't use them by default. Let them
be forced, though.

Tests needed some refactoring to account for the various permutations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turns out that the C extensions build and work fine with PyPy, but don't use them by default. Let them
be forced, though.

Tests needed some refactoring to account for the various permutations.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow Registering and unregistering instance methods as listeners (#102)</title>
<updated>2017-11-28T07:28:40+00:00</updated>
<author>
<name>‮rekcäH nitraM‮</name>
<email>spamfaenger@gmx.de</email>
</author>
<published>2017-11-28T07:28:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=d50e3d4bed1cecb8b308656ca509824fd379c6cc'/>
<id>d50e3d4bed1cecb8b308656ca509824fd379c6cc</id>
<content type='text'>
* Fixes #12 - registering instance methods as listeners doesn’t allow to easily unregister them as the registry tries to find the handler with 'is' but it should use '==' to allow the python BoundMethod wrapper (which is a new instance every time instance.$methodname is accessed).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fixes #12 - registering instance methods as listeners doesn’t allow to easily unregister them as the registry tries to find the handler with 'is' but it should use '==' to allow the python BoundMethod wrapper (which is a new instance every time instance.$methodname is accessed).</pre>
</div>
</content>
</entry>
<entry>
<title>Enable combined coverage reports under tox and branch coverage</title>
<updated>2017-06-14T14:45:49+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2017-06-14T14:45:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=3a1a264e6dc116c620153d2b691d5668dfaee9a4'/>
<id>3a1a264e6dc116c620153d2b691d5668dfaee9a4</id>
<content type='text'>
Fixes #91

Remove many (or most) now-redundant 'pragma: no cover'.

A few minor test changes to get full branch coverage.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #91

Remove many (or most) now-redundant 'pragma: no cover'.

A few minor test changes to get full branch coverage.
</pre>
</div>
</content>
</entry>
<entry>
<title>100% coverage (#90)</title>
<updated>2017-06-12T14:05:13+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jason+github@nextthought.com</email>
</author>
<published>2017-06-12T14:05:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=1f00dcfa8e7f4cc2e5706c9af44f1cab20b22d88'/>
<id>1f00dcfa8e7f4cc2e5706c9af44f1cab20b22d88</id>
<content type='text'>
* Get as close to 100% coverage as possible.

Without conflicting with #86.

This is almost entirely trivial changes:

- Make dummy methods that should never be called either raise
  NotImplementedError or call self.fail() in tests.
- Standardize the no-coverage pragma
- Add a few pragmas where coverage varies across
  versions/implementations, mostly for the sake of tox (travis should
  hit them all).

* Convert tox to run the coverage command, like travis. A follow up should have it produce coverage for all python versions/implementations.

Fixes #87

* Adjust coverage config for py2 only tests; fix typo; finish replacing self with cls
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Get as close to 100% coverage as possible.

Without conflicting with #86.

This is almost entirely trivial changes:

- Make dummy methods that should never be called either raise
  NotImplementedError or call self.fail() in tests.
- Standardize the no-coverage pragma
- Add a few pragmas where coverage varies across
  versions/implementations, mostly for the sake of tox (travis should
  hit them all).

* Convert tox to run the coverage command, like travis. A follow up should have it produce coverage for all python versions/implementations.

Fixes #87

* Adjust coverage config for py2 only tests; fix typo; finish replacing self with cls
</pre>
</div>
</content>
</entry>
<entry>
<title>Test sanity cleanups (#88)</title>
<updated>2017-06-09T02:19:13+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jason+github@nextthought.com</email>
</author>
<published>2017-06-09T02:19:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=8bcfddcfbe8a597c7af0de191d51569fa1b1f603'/>
<id>8bcfddcfbe8a597c7af0de191d51569fa1b1f603</id>
<content type='text'>
* Test sanity cleanups

Partially addresses #87

- Remove manual lists of tests in favor of loadTestsFromName. This
  mostly gets all test runners running the same number of tests.
- Remove `additional_tests`, which was just duplicating the discovered
  tests. No modern test runner seems to need it.
- Change the two compatibility skip decorators to actually use
  unitetest skips, which helps with the reporting.

* Per @tseaver, drop most test_suite functions.

* Port remaining doctest to unittest.

* Make the odd tests work on all supported python versions
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Test sanity cleanups

Partially addresses #87

- Remove manual lists of tests in favor of loadTestsFromName. This
  mostly gets all test runners running the same number of tests.
- Remove `additional_tests`, which was just duplicating the discovered
  tests. No modern test runner seems to need it.
- Change the two compatibility skip decorators to actually use
  unitetest skips, which helps with the reporting.

* Per @tseaver, drop most test_suite functions.

* Port remaining doctest to unittest.

* Make the odd tests work on all supported python versions
</pre>
</div>
</content>
</entry>
<entry>
<title>Raise ValueError if non-text name passed to adapter registry methods.</title>
<updated>2017-05-04T09:50:35+00:00</updated>
<author>
<name>Tres Seaver</name>
<email>tseaver@palladion.com</email>
</author>
<published>2017-05-04T09:47:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=81f50ca16007d0eb6beb7a51b5bf32b6f1cb410a'/>
<id>81f50ca16007d0eb6beb7a51b5bf32b6f1cb410a</id>
<content type='text'>
Prevents corruption of lookup cache.

Alternative to fix proposed in #75.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prevents corruption of lookup cache.

Alternative to fix proposed in #75.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests asserting that optimzations are / are not present as expected.</title>
<updated>2016-11-15T22:54:25+00:00</updated>
<author>
<name>Tres Seaver</name>
<email>tseaver@palladion.com</email>
</author>
<published>2016-11-15T22:54:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=b27a50f4131ccf10732d7ebd20b3f8fa8afd397c'/>
<id>b27a50f4131ccf10732d7ebd20b3f8fa8afd397c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the _u compat function.</title>
<updated>2016-08-02T21:56:25+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2016-08-02T21:56:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=3973374c6ad1042c1e30a8b43374906b3be753b0'/>
<id>3973374c6ad1042c1e30a8b43374906b3be753b0</id>
<content type='text'>
Since we no longer support 3.2 we can use the literal syntax.

This was done with a quick sed script.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we no longer support 3.2 we can use the literal syntax.

This was done with a quick sed script.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove deprecated unittest assertions.</title>
<updated>2014-12-28T00:41:22+00:00</updated>
<author>
<name>Tres Seaver</name>
<email>tseaver@palladion.com</email>
</author>
<published>2014-12-28T00:41:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=c3105a1758a465b30aed76608bd83ad51e755019'/>
<id>c3105a1758a465b30aed76608bd83ad51e755019</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>100% branch coverage for 'zope.interface.adapter'.</title>
<updated>2014-12-08T15:42:14+00:00</updated>
<author>
<name>Tres Seaver</name>
<email>tseaver@palladion.com</email>
</author>
<published>2014-12-08T15:42:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=d5a3d158b46e906ab4ad3722bd816240f0a09c9a'/>
<id>d5a3d158b46e906ab4ad3722bd816240f0a09c9a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
