Skip to content

Commit

Permalink
Fix "Support for nose tests is deprecated and will be removed in a fu…
Browse files Browse the repository at this point in the history
…ture release." (#103)
  • Loading branch information
psrok1 authored Aug 1, 2023
1 parent 930a999 commit a8d79bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_disasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class TestDisasm(object):
b"\x0f\xb6\x05\x00\x00\x04\x00",
))

def setup(self):
def setup_method(self):
self.insns = list(disasm(self.streams, 0x1000))

def test_insns(self):
Expand Down Expand Up @@ -90,7 +90,7 @@ class TestDisasm64bit(object):
b"\x48\x8d\x04\x85\x33\x33\x33\x00",
))

def setup(self):
def setup_method(self):
self.insns = list(disasm(self.streams, 0x1000, x64=True))

def test_insns(self):
Expand Down

0 comments on commit a8d79bc

Please sign in to comment.