MCPcopy Index your code
hub / github.com/python/cpython / test_no_cache

Method test_no_cache

Lib/test/test_zoneinfo/test_zoneinfo.py:1511–1516  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1509 self.assertIs(tz0, tz1)
1510
1511 def test_no_cache(self):
1512
1513 tz0 = self.klass("Europe/Lisbon")
1514 tz1 = self.klass.no_cache("Europe/Lisbon")
1515
1516 self.assertIsNot(tz0, tz1)
1517
1518 def test_cache_reset_tzpath(self):
1519 """Test that the cache persists when tzpath has been changed.

Callers

nothing calls this directly

Calls 2

no_cacheMethod · 0.80
assertIsNotMethod · 0.80

Tested by

no test coverage detected