snapshottest
snapshottest copied to clipboard
Use importlib (Python 3.12 compatible)
Replace imp
usage with importlib
imp
has been removed in Python 3.12 so this should make this package compatible.
- https://github.com/syrusakbary/snapshottest/issues/142#issuecomment-703166275
Tests all pass locally on Python 3.12.
- This implementation is much simpler than #168
Fixes #166
Any update on this? Would be really nice to get it merged.
@Kilo59 I am closing this as duplicate of #168, since the other PR is now merged.