tests/test-check-interfaces.py.out
author Gregory Szorc <gregory.szorc@gmail.com>
Fri, 30 Mar 2018 18:53:17 -0700
changeset 37320 39f7d4ee8bcd
parent 33807 b70029f355a3
permissions -rw-r--r--
repository: port peer interfaces to zope.interface zope.interface is superior. Let's switch to it. Unlike abc, which defines interfaces through a base class, zope.interface uses different types for interfaces and for implementations. So, we had to invent some new types to hold the interfaces in order to separate the interface from its default implementation. The names here could probably be better. I've been wanting to overhaul the peer interface for a while. And wire protocol version 2 will force that work. So anticipate a refactoring of these interfaces in later commits. With this commit, we no longer test abc interfaces in test-check-interfaces.py, so code for that has been removed. Differential Revision: https://phab.mercurial-scm.org/D3068 # no-check-commit because of stream_out()
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37320
39f7d4ee8bcd repository: port peer interfaces to zope.interface
Gregory Szorc <gregory.szorc@gmail.com>
parents: 33807
diff changeset
     1
public attribute not declared in interfaces: badpeer.badattribute
39f7d4ee8bcd repository: port peer interfaces to zope.interface
Gregory Szorc <gregory.szorc@gmail.com>
parents: 33807
diff changeset
     2
public attribute not declared in interfaces: badpeer.badmethod