snapshottest icon indicating copy to clipboard operation
snapshottest copied to clipboard

Use importlib (Python 3.12 compatible)

Open Kilo59 opened this issue 4 months ago • 1 comments

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

Kilo59 avatar Apr 11 '24 16:04 Kilo59

Fixes #166

RobinTail avatar Apr 12 '24 11:04 RobinTail