Skip to content

Commit c282d3e

Browse files
tcloseeffigies
andcommitted
Update pydra/engine/tests/test_submitter.py
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 048c0a1 commit c282d3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydra/engine/tests/test_submitter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,8 +593,8 @@ class Unstable:
593593
value: int # type: ignore
594594

595595
def __bytes_repr__(self, cache) -> ty.Iterator[bytes]:
596-
"""Bytes repr based on time-stamp -> inherently unstable"""
597-
yield struct.pack("!I", int(time.time()))
596+
"""Random 128-bit bytestring"""
597+
yield random.randbytes(16)
598598

599599
@mark.task
600600
def unstable_input(unstable: Unstable) -> int:

0 commit comments

Comments
 (0)