File: helper.py

package info (click to toggle)
jsonpickle 4.0.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,864 kB
  • sloc: python: 6,788; javascript: 654; makefile: 125; sh: 68
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