• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zopefoundation / Products.StandardCacheManagers / 16399753970

17 Mar 2025 07:54AM UTC coverage: 50.611% (-2.0%) from 52.597%
16399753970

push

github

web-flow
Update Python version support. (#13)

* Drop support for Python 3.8.
* Add support for Python 3.13.

13 of 124 branches covered (10.48%)

Branch coverage included in aggregate %.

360 of 613 relevant lines covered (58.73%)

0.59 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/Products/StandardCacheManagers/subscribers.py
1
##############################################################################
2
#
3
# Copyright (c) 2010 Zope Foundation and Contributors.
4
# All Rights Reserved.
5
#
6
# This software is subject to the provisions of the Zope Public License,
7
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
8
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
9
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
10
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
11
# FOR A PARTICULAR PURPOSE.
12
#
13
##############################################################################
14
""" subscribers to events affecting StandardCacheManagers
15
"""
16

17

18
def cloned(obj, event):
1✔
19
    """
20
    Reset the Id of the module level cache so the clone gets a different cache
21
    than its source object
22
    """
23
    obj._resetCacheId()
1✔
24

25

26
def removed(obj, event):
1✔
27
    obj._remove_data()
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc