decompiler: Fix translator comments in properties

This commit is contained in:
James Westman 2024-08-24 12:40:04 -05:00
parent a12ac1b976
commit 25d9826aea
4 changed files with 23 additions and 4 deletions

View file

@ -206,6 +206,9 @@ class TestSamples(unittest.TestCase):
"unchecked_class",
]
# Decompiler-only tests
SKIP_COMPILE = ["translator_comments"]
SKIP_DECOMPILE = [
# Not implemented yet
"action_widgets",
@ -225,7 +228,8 @@ class TestSamples(unittest.TestCase):
continue
with self.subTest(sample):
self.assert_sample(sample, skip_run=sample in SKIP_RUN)
if sample not in SKIP_COMPILE:
self.assert_sample(sample, skip_run=sample in SKIP_RUN)
with self.subTest("decompile/" + sample):
if sample not in SKIP_DECOMPILE: