Skip to main content

`the` assert basic type

Project description

An assertion lib for the to assert basic type.

Build Status tested on 2.7, 3.2, 3.3

API

  • int

  • float

  • str

  • dict

  • list

  • tuple

  • set

Usage

from the import expect
import theeasytype

expect.use(theeasytype)

expect(1).to.be.int
expect(1.1).to.be.float
expect("").to.be.str
expect({}).to.be.dict
expect([]).to.be.list
expect(()).to.be.tuple
expect(set()).to.be.set

Project details


Download files

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

Source Distribution

theeasytype-0.0.1.tar.gz (1.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page