The file parser should be tested using real files. It should be noted that there are compatibility problems depending on the Python version being used, related to the way Python 2 and 3 handle codifications.
This codification problem should be solved in some way to prepare these tests. At the time of writing, the file parser will just expect the file contents, so applying the correct codification will depend on the user.
The file parser should be tested using real files. It should be noted that there are compatibility problems depending on the Python version being used, related to the way Python 2 and 3 handle codifications.
This codification problem should be solved in some way to prepare these tests. At the time of writing, the file parser will just expect the file contents, so applying the correct codification will depend on the user.