Add tests for LaserCodeRegistry, clean up.

* Store a deque rather than an iterator so it can be pickled
* Remove mangling from staticmethod (and rename now that it's no longer
  a generator)
* Rename "get" to "alloc" to make the mutation clear
* Move to its own package (the changes I'm working on make this no
  longer mission generator specific)
* Remove useless exception class. It's never caught so the unique type
  isn't needed
This commit is contained in:
Dan Albert
2023-07-21 23:35:01 -07:00
committed by Raffson
parent 485229b92f
commit 279572ae09
8 changed files with 29 additions and 22 deletions

View File