Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Assertion framework for python unit testing with a fluent API

Project Description

Dead simple assertions framework for unit testing in Python with a nice fluent API that supports Python 2 and 3.


Just import the assert_that function, and away you go:

from assertpy import assert_that

class TestSomething(object):
    def test_something(self):
        assert_that(1 + 2).is_equal_to(3)

Of course, assertpy works best with a python test runner like Nose or pytest.

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(7.1 kB) Copy SHA256 Hash SHA256
Source May 11, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting