Skip to content

Commit 230166e

Browse files
authored
Merge pull request #393 from abhinav1912/fix/issue_376
fix: created PetShop instance
2 parents 02dd56a + 6f6cfbe commit 230166e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

patterns/creational/abstract_factory.py

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ def main() -> None:
116116

117117
if __name__ == "__main__":
118118
random.seed(1234) # for deterministic doctest outputs
119+
shop = PetShop(random_animal)
119120
import doctest
120121

121122
doctest.testmod()

0 commit comments

Comments
 (0)