]> granicus.if.org Git - python/commit
Rewrite test_order so as to be more "proper". Originally relied on an
authorBrett Cannon <bcannon@gmail.com>
Thu, 19 Aug 2004 03:48:24 +0000 (03:48 +0000)
committerBrett Cannon <bcannon@gmail.com>
Thu, 19 Aug 2004 03:48:24 +0000 (03:48 +0000)
commitcaa9798410887317226c4bf89f38d318b8436612
treef240fbf4f49dc5db1807554fd5c897ca3f92af2e
parentc6f3c8b612c8265fcf9c1dc9d8c8ca4c6316a37a
Rewrite test_order so as to be more "proper".  Originally relied on an
error based on decorating with staticmethod too soon for the code to execute.
This meant that if the test didn't pass it just errored out.  Now if the test
doesn't pass it leads to a failure instead.
Lib/test/test_decorators.py