-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate tests from nosetests to pytest
nosetests doesn't work with Python >= 3.10
- Loading branch information
1 parent
059c4ab
commit 8d8f7b4
Showing
6 changed files
with
16 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
nose | ||
pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
import unittest | ||
|
||
|
||
class ReadXML(unittest.TestCase): | ||
def runTest(self): | ||
from opcodes.k1om import read_instruction_set | ||
instruction_set = read_instruction_set() | ||
|
||
def test_read_instruction_set(): | ||
from opcodes.k1om import read_instruction_set | ||
instruction_set = read_instruction_set() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
import unittest | ||
|
||
|
||
class ReadXML(unittest.TestCase): | ||
def runTest(self): | ||
from opcodes.x86 import read_instruction_set | ||
instruction_set = read_instruction_set() | ||
|
||
def test_read_instruction_set(): | ||
from opcodes.x86 import read_instruction_set | ||
instruction_set = read_instruction_set() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
import unittest | ||
|
||
|
||
class ReadXML(unittest.TestCase): | ||
def runTest(self): | ||
from opcodes.x86_64 import read_instruction_set | ||
instruction_set = read_instruction_set() | ||
|
||
def test_read_instruction_set(): | ||
from opcodes.x86_64 import read_instruction_set | ||
instruction_set = read_instruction_set() |