Python 3 compatibility for reloading test
Pythons 2.4 and 2.5 do not understand class decorators