Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: recipe_engine/third_party/setuptools/tests/py26compat.py

Issue 1344583003: Recipe package system. (Closed) Base URL: git@github.com:luci/recipes-py.git@master
Patch Set: Recompiled proto Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 import unittest
2
3 try:
4 # provide skipIf for Python 2.4-2.6
5 skipIf = unittest.skipIf
6 except AttributeError:
7 def skipIf(condition, reason):
8 def skipper(func):
9 def skip(*args, **kwargs):
10 return
11 if condition:
12 return skip
13 return func
14 return skipper
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698