source: trunk/src/allmydata/util/assertutil.py

Last change on this file was 1cfe843d, checked in by Alexandre Detiste <alexandre.detiste@…>, at 2024-02-22T23:40:25Z

more python2 removal

  • Property mode set to 100644
File size: 351 bytes
Line 
1"""
2Tests useful in assertion checking, prints out nicely formated messages too.
3
4Backwards compatibility layer, the versions in pyutil are better maintained and
5have tests.
6
7Ported to Python 3.
8"""
9
10# The API importers expect:
11from pyutil.assertutil import _assert, precondition, postcondition
12
13__all__ = ["_assert", "precondition", "postcondition"]
Note: See TracBrowser for help on using the repository browser.