Skip to content

Commit c5030a3

Browse files
committed
Allow initial currsize to be greater than one (as happens when running the test suite).
1 parent 2d43ec1 commit c5030a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_zip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_fastpath_cache_cleared_in_forked_child(self):
5959
zip_path = sys.path[0]
6060

6161
FastPath(zip_path)
62-
self.assertEqual(FastPath.__new__.cache_info().currsize, 1)
62+
assert FastPath.__new__.cache_info().currsize >= 1
6363

6464
ctx = multiprocessing.get_context('fork')
6565
parent_conn, child_conn = ctx.Pipe()

0 commit comments

Comments
 (0)