Skip to content

Commit 1ecd260

Browse files
authored
Fix test_mpi_comm_refcount with Python 3.14 (#4014) (#4016)
1 parent f1daede commit 1ecd260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/test/unit/common/test_mpi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ def test_mpi_comm_refcount():
3131
assert comm2 == comm1
3232

3333
del m
34-
assert sys.getrefcount(comm1) == 2
34+
assert sys.getrefcount(comm1) == 1 + int(sys.version_info < (3, 14))
3535
assert comm1.rank == comm0.rank

0 commit comments

Comments
 (0)