Commits

Shinya Okano committed c05b0fc

noseのテストスキップの例

  • Participants
  • Parent commits 1ab5b46

Comments (0)

Files changed (1)

File python/nose_skiptest/tests.py

+from unittest import TestCase
+
+#from unittest import SkipTest
+from nose.plugins.skip import SkipTest
+
+
+def setUpModule():
+    raise SkipTest
+
+
+class MyTestCase(TestCase):
+    def test(self):
+        self.assertEqual(1 + 1, 2)