File: helper.py

package info (click to toggle)
jsonpickle 3.0.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,184 kB
  • sloc: python: 6,088; javascript: 654; makefile: 90; sh: 17
file content (8 lines) | stat: -rw-r--r-- 179 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
import unittest


class SkippableTest(unittest.TestCase):
    def skip(self, msg):
        if hasattr(self, 'skipTest'):
            return self.skipTest(msg)
        return None