def skip_if_not_supported(y):
        msg = "strftime() is limited to [1; 9999] with Visual Studio"
        # Check that it doesn't crash for year > 9999
        try:
            time.strftime('%Y', (y,) + (0,) * 8)
        except ValueError:
            cond = False
        else:
            cond = True
        return unittest.skipUnless(cond, msg)
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_time.py/_TestStrftimeYear.skip_if_not_supported/original