Skip to content

Commit

Permalink
Add change note and coverage badge to README
Browse files Browse the repository at this point in the history
[skip ci]

Update PyPI links in readme.

Fix typo in test_persistence.py
  • Loading branch information
jamadden committed Aug 1, 2018
1 parent 2f354c4 commit 349e9e2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
4.3.1 (unreleased)
------------------

- Reach and maintain 100% test coverage.

- Simplify ``__init__.py``, including removal of an attempted legacy
import of ``persistent.TimeStamp``.

- Add support for Python 3.7 and drop support for Python 3.3.

- Build the CFFI modules (used on PyPy or when PURE_PYTHON is set) `at
Expand Down
11 changes: 7 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@
.. image:: https://travis-ci.org/zopefoundation/persistent.svg?branch=master
:target: https://travis-ci.org/zopefoundation/persistent

.. image:: https://coveralls.io/repos/github/zopefoundation/persistent/badge.svg?branch=master
:target: https://coveralls.io/github/zopefoundation/persistent?branch=master

.. image:: https://readthedocs.org/projects/persistent/badge/?version=latest
:target: http://persistent.readthedocs.org/en/latest/
:alt: Documentation Status

.. image:: https://img.shields.io/pypi/v/persistent.svg
:target: https://pypi.python.org/pypi/persistent
:alt: PyPI
:target: https://pypi.org/project/persistent
:alt: Latest release

.. image:: https://img.shields.io/pypi/pyversions/persistent.svg
:target: https://pypi.python.org/pypi/persistent
:target: https://pypi.org/project/persistent
:alt: Python versions

This package contains a generic persistence implementation for Python. It
Expand All @@ -22,7 +25,7 @@ a database such as the ZODB.

Please see the Sphinx documentation (``docs/index.rst``) for further
information, or view the documentation at Read The Docs, for either
the latest (``http://persistent.readthedocs.io/en/latest/) or stable
the latest (``http://persistent.readthedocs.io/en/latest/``) or stable
release (``http://persistent.readthedocs.io/en/stable/``).

.. note::
Expand Down
2 changes: 1 addition & 1 deletion persistent/tests/test_persistence.py
Original file line number Diff line number Diff line change
Expand Up @@ -1746,7 +1746,7 @@ def mru(oid):
# Mimic what the real cache does
if oid not in jar._cache._mru:
raise KeyError(oid)
raise AssertionError("Shold never get here")
raise AssertionError("Should never get here")
jar._cache.mru = mru
c1._p_accessed()
self._checkMRU(jar, [])
Expand Down

0 comments on commit 349e9e2

Please sign in to comment.