Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14864322
D11655.id34096.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
469 B
Subscribers
None
D11655.id34096.diff
View Options
diff --git a/test/functional/test_framework/txtools.py b/test/functional/test_framework/txtools.py
--- a/test/functional/test_framework/txtools.py
+++ b/test/functional/test_framework/txtools.py
@@ -13,7 +13,7 @@
def get_random_bytes(size: int) -> bytes:
if sys.version_info >= (3, 9, 0):
- return random.randbytes(size)
+ return random.randbytes(size) # type: ignore[attr-defined]
# slower workaround
if not size:
return b''
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 20, 18:48 (2 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5863112
Default Alt Text
D11655.id34096.diff (469 B)
Attached To
D11655: Ignore lint check on randbytes since it's wrapped in a version check
Event Timeline
Log In to Comment