Better test

This commit is contained in:
Ange Albertini
2026-05-28 14:00:41 +00:00
parent c134af2304
commit 7962d97b9a
+1 -5
View File
@@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import warnings
import pytest
import capa.features.address
@@ -59,10 +57,8 @@ def test_no_address_hash():
def test_relative_address():
with pytest.raises(DeprecationWarning):
warnings.filterwarnings("error", category=DeprecationWarning)
with pytest.warns(DeprecationWarning):
_ = RelativeVirtualAddress(0)
warnings.resetwarnings()
def test_dn_token_offset_address_cross_type_eq():