Skip to content

Commit

Permalink
Update pydra/engine/tests/test_submitter.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
tclose and effigies authored Oct 15, 2023
1 parent e776f6a commit d5b35a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydra/engine/tests/test_submitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,8 @@ class Unstable:
value: int # type: ignore

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

@mark.task
def unstable_input(unstable: Unstable) -> int:
Expand Down

0 comments on commit d5b35a7

Please sign in to comment.