Skip to content

Instantly share code, notes, and snippets.

@ranggakd
Last active June 8, 2023 09:24
import unittest
from sys import platform
class TestDemo(unittest.TestCase):
def test_case_1(self):
self.assertEqual(1+1, 2)
def test_case_2(self):
if not platform.startswith("win"):
self.fail("Do not run unless on Windows")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment