Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test compatibility with zope.interface 5.4 #22

Merged
merged 1 commit into from
Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
2.5.1 (unreleased)
==================

- Nothing changed yet.
- Fix test compatibility with zope.interface 5.4.


2.5.0 (2020-03-30)
Expand Down
4 changes: 2 additions & 2 deletions src/zope/mimetype/event.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ that simply prints out the information from the event object::

>>> def handler(event):
... print("changed content type interface:")
... print(" from:", event.oldContentType)
... print(" to:", event.newContentType)
... print(" from:", repr(event.oldContentType))
... print(" to:", repr(event.newContentType))

We'll also define a simple content object::

Expand Down