Michael Whatcott

Results 48 comments of Michael Whatcott

@jruere - It's been a while since I've worked on this project. Can you paste in an example of what you're trying to accomplish?

You can assert that an assertion was raised: ``` this(function_that_raises_exception).should.raise_an(Exception) ``` https://github.com/mdwhatcott/pyspecs/blob/master/tests/test_should.py#L108 Conversely, you should be able to chain `.NOT` to get the inverse effect: ``` this(function_that_finishes_successfully).should.NOT.raise_an(Exception) ``` https://github.com/mdwhatcott/pyspecs/blob/master/tests/test_should.py#L20

Yes, if the function receives arguments, wrap it in a lambda or a separate niladic function. I'm not doing very much python work right now, other than quick scripts that...

You're welcome. Glad you are finding this project useful.

You'll need to update goconvey to the latest version (1.8.0), which requires the assertions module at the new location. `go get -u github.com/smartystreets/goconvey`

@ale7714 - thanks for submitting this pull request. Will you go into more detail about what problem are you trying to solve?

@ale7714 - Ah, interesting. I anxiously await any results you can share from your investigation.