Testing suite is changed to pytest from nosetest because nosetest is unmaintained.
All of the tests are moved to the tests directory in the project root. Gathering the tests into a single directory makes it easier to utilize the same set of testing tools. Separating out the tests from the code decreases dependencies for both the code and the tests, and it plays nicer with pytest
Only use pytest for testing.
Move data files to the test directory. Since data files were only used for testing purposes, placing the tests with the data files in the same directories makes it a bit easier to manage the directories.
pytest
fromnosetest
becausenosetest
is unmaintained.tests
directory in the project root. Gathering the tests into a single directory makes it easier to utilize the same set of testing tools. Separating out the tests from the code decreases dependencies for both the code and the tests, and it plays nicer with pytesttest
directory. Since data files were only used for testing purposes, placing the tests with the data files in the same directories makes it a bit easier to manage the directories.