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
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
should-0.4.0.tar.gz
(2.3 kB
view hashes)