`the` assert basic type
Project description
An assertion lib for the to assert basic type.
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
Release history Release notifications | RSS feed
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)