fix nb of test skipped when Tk windown cannot be created
v2.009

    * fix nb of test skipped when Tk window cannot be created