mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-30 07:43:48 +02:00
test: add missing assert_equal imports
The later scripted diff only rewrites call sites. Add `assert_equal` imports in the remaining files that still need them so the mechanical replacement can apply cleanly.
This commit is contained in:
@@ -13,6 +13,7 @@ import random
|
||||
import unittest
|
||||
|
||||
from test_framework.crypto.secp256k1 import FE, G, GE
|
||||
from test_framework.util import assert_equal
|
||||
|
||||
# Precomputed constant square root of -3 (mod p).
|
||||
MINUS_3_SQRT = FE(-3).sqrt()
|
||||
|
||||
@@ -17,7 +17,7 @@ Exports:
|
||||
|
||||
import unittest
|
||||
from hashlib import sha256
|
||||
from test_framework.util import assert_not_equal
|
||||
from test_framework.util import assert_equal, assert_not_equal
|
||||
|
||||
class FE:
|
||||
"""Objects of this class represent elements of the field GF(2**256 - 2**32 - 977).
|
||||
|
||||
Reference in New Issue
Block a user