Last active
June 8, 2023 09:24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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