Skip to content

Instantly share code, notes, and snippets.

@rubik
Created September 23, 2012 08:41
Show Gist options
  • Save rubik/3769385 to your computer and use it in GitHub Desktop.
Save rubik/3769385 to your computer and use it in GitHub Desktop.
ParamUnittest failure when unittest's skip is used (subclassing)
import unittest
from paramunittest import *
@parametrized(
('1', '2'),
)
class TestFoo(ParametrizedTestCase):
def setParameters(self, a, b):
self.a = a
self.b = b
def testLess(self):
self.assertLess(self.a, self.b)
class TestBar(TestFoo):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment