snapshottest icon indicating copy to clipboard operation
snapshottest copied to clipboard

Use importlib (Python 3.12 compatible)

Open Kilo59 opened this issue 10 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

Any update on this? Would be really nice to get it merged.

jeremyk avatar Jul 24 '24 21:07 jeremyk

@Kilo59 I am closing this as duplicate of #168, since the other PR is now merged.

ayys avatar Aug 01 '24 08:08 ayys