Skip to content

Latest commit

 

History

History
182 lines (124 loc) · 4.4 KB

changelog.rst

File metadata and controls

182 lines (124 loc) · 4.4 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

v3.0.0

[v2.0.0]

Fixed

  • No longer patch the builtin dir() function, which fixes pytest in some cases such as projects using gevent.

[v1.4.11]

Fixed

  • Reading the version dinamically was causing import errors that caused error when installing package. Refs #144

Fixed

  • Remove wrong parens for format call. Refs #139

Added

  • Support and test against PyPy 3

Fixed

  • Fix safe representation in exception messages for bytes and unicode objects. Refs #136

Fixed

  • Correctly escape special character for str.format() for assertion messages. Refs #134

Nothing to mention here.

Fixed

  • Bug in setup.py that would break in python > 2

Added

  • ensure context manager to provide custom assertion messages. Refs #125

Added

  • Python 3.6 support
  • Python 3.7-dev support (allowed to fail)

Fixed

  • Do not overwrite existing class and instance attributes with sure properties (when. should, …). Refs #127, #129
  • Fix patched built-in dir() method. Refs #124, #128

Added

  • anything object which is accessible with sure.anything
  • interface to extend sure. Refs #31

Removed

  • Last traces of Python 2.6 support

Fixed

  • Allow overwriting of monkey-patched properties by sure. Refs #19
  • Assertions for raises

Added

  • Python 3.3, 3.4 and 3.5 support
  • pypy support
  • Support comparison of OrderedDict. Refs #55

Fixed

  • contain assertion. Refs #104