Open ErikBjare opened 6 years ago
As long as it doesn't complicate the implementation, if you can make that work I'd be fine with it. I don't suspect that using this with no arguments is a very common case, as the specific versions are necessary for the test failure behavior, and those plus the description are needed for anything useful to come out of the documentation changes.
Minor usability issue, should be easy to fix.
Tried using it today and got a weird error.
This was easily resolved by changing the decorating line from
@deprecated
to@deprecated()
, but expected behavior for most decorators (ime) is to behave identically if arguments were given or not.If you're fine with this @briancurtin I'll make a PR.