File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 55
66from __future__ import with_statement
77
8+ import sys
89import uuid
910import types
1011
12+ import nose
13+
1114from python_toolbox import cute_inspect
1215from python_toolbox import cute_testing
1316
@@ -103,6 +106,9 @@ def my_static_method(x):
103106
104107def test_monkeypatch_classmethod ():
105108
109+ if sys .version [:2 ] <= (2 , 6 ):
110+ raise nose .SkipTest ('Not supported on Python 2.6.' )
111+
106112 class A (object ):
107113 @classmethod
108114 def my_class_method (cls ):
@@ -130,6 +136,9 @@ def test_monkeypatch_classmethod_subclass():
130136
131137 This is useful in Django, that uses its own `classmethod` subclass.
132138 '''
139+ if sys .version [:2 ] <= (2 , 6 ):
140+ raise nose .SkipTest ('Not supported on Python 2.6.' )
141+
133142 class FunkyClassMethod (classmethod ):
134143 is_funky = True
135144
You can’t perform that action at this time.
0 commit comments