Skip to main content

assert with should

Project description

不太会 RST, 详情及源码见 https://github.com/Ralph-Wang/should

from should import it

it(1).should.be.int.also.be.equal(1)

it(lambda: int(‘abc’)).should.throw(ValueError)

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

should-0.4.1.tar.gz (2.3 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