bitbake: test/fetch: Allow the conditional network tests to work under python 2.6
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 May 2013 09:41:04 +0000 (12:41 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 May 2013 09:42:08 +0000 (12:42 +0300)
commitdb74620946d7128b286f27065b22c30a2907895f
tree65b588e53e1b820d7c6ca7fe89d526ee842dc080
parent5608b6718f61c8fd203a598dd7ea48264bed6659
bitbake: test/fetch: Allow the conditional network tests to work under python 2.6

The skipIf decorator is unavailable under python 2.6 and finding a syntax
works there is hard. This patch does allow network tests under 2.6.

(Bitbake rev: 565b3e31e0226c6e193ee0b031bd5e7bef25591e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/tests/fetch.py