pymemcache icon indicating copy to clipboard operation
pymemcache copied to clipboard

MockMemcacheClient.set: assert that expire is an integer

Open snarfed opened this issue 4 months ago • 1 comments

the real client does this, so ideally the mock should too.

snarfed avatar Aug 20 '25 03:08 snarfed

@jparise type annotation sounds great! I didn't go that route originally because MockMemcacheClient doesn't currently have any, and it felt awkward to add just one in isolation, and I wasn't quite ready to tackle the whole class. I'm open to anything though.

snarfed avatar Aug 21 '25 17:08 snarfed