Closed benoitbryon closed 10 years ago
Warning: it looks like I did not understand the "keep_attrs" usage... I could not figure out how it works. So the following doctests are broken:
@zeekay: can you have a look at it and tell me what's wrong with the tests? So that I can fix them.
Refs #8
Thanks! I merged locally and fixed the tests up. I also changed the name of keep_attrs
to assigned
which matches the language functools.wraps
uses for similar keyword argument.
Hi, Here is a first proposal around testing, using nosetests and doctests: I mostly turned examples in README into doctests, then included them in the test suite.