fix: unittests

This commit is contained in:
debugtalk
2022-03-21 15:16:09 +08:00
parent 0b1ae05c2b
commit ab6772a63c
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ class TestScaffold(unittest.TestCase):
# run demo testcases
try:
if platform.system() is "Windows":
if platform.system() == "Windows":
subprocess.check_call(["hrun", project_name], shell=True)
else:
subprocess.check_call(["hrun", project_name])