Skip to content

Commit f1f8e58

Browse files
committed
Revert pickle hash test changes
1 parent 98274bf commit f1f8e58

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

tests/test_nodes.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from __future__ import annotations
22

33
import pickle
4-
import sys
54
from pathlib import Path
65

76
import cloudpickle
@@ -95,15 +94,7 @@ def test_hash_of_path_node(tmp_path, value, exists, expected):
9594
("value", "exists", "expected"),
9695
[
9796
("0", False, None),
98-
# Python 3.14+ uses pickle protocol 5 by default, which produces different
99-
# hashes
100-
(
101-
"0",
102-
True,
103-
"1973e23848344dc43a988a9b478663803cfffe1243480253f9a3cf004b14aa7c"
104-
if sys.version_info >= (3, 14)
105-
else "2e81f502b7a28f824c4f1451c946b952eebe65a8521925ef8f6135ef6f422e8e",
106-
),
97+
("0", True, "2e81f502b7a28f824c4f1451c946b952eebe65a8521925ef8f6135ef6f422e8e"),
10798
],
10899
)
109100
def test_hash_of_pickle_node(tmp_path, value, exists, expected):

0 commit comments

Comments
 (0)