A Python self-check tests evaluation order, resource failure policy, deterministic tests and archive byte declarations.
Review the related lessons
- Python starred unpacking: allocate the middle and reject wrong arity
- Python module cache: repeated imports reuse an owned module object
- Python context manager exit: returning true can hide a failure
- Python interview: mutating a hash key breaks dictionary lookup assumptions
- Python exercise: reconcile duplicate receipt counts without losing multiplicity
- Python testing: inject a clock to test expiry at the exact boundary
- Python unittest.mock: patch the name the caller actually resolves
- Python wheel RECORD: verify member bytes before trusting a local archive
Common Mistakes
A correct answer on these fixtures does not prove all runtime versions or archive inputs. Inspect each lesson’s rejected inputs and ownership boundary.
