Handle empty PYTHON_MODULE in header comment (#1432)

This commit is contained in:
Jacqueline Deans
2023-01-23 08:50:13 -06:00
committed by GitHub
parent e11ff83051
commit 8821bac18a
5 changed files with 44 additions and 3 deletions

View File

@ -43,6 +43,13 @@ def main():
yummy.yummy = trick.Foo.Doughnuts
TRICK_EXPECT_EQ( yummy.yummy , 2, test_suite , "additional file in same namespace" )
# new class from TrickFood
trickfood = trick.Food()
trickfood.print_me()
TRICK_EXPECT_EQ( trickfood.fast , 2, test_suite , "blank python_module statement" )
trickfood.fast = trick.Pizza
TRICK_EXPECT_EQ( trickfood.fast , 0, test_suite , "blank python_module statement" )
if __name__ == "__main__":
main()