Skip to content

One of unit tests (tests.test_cli.TestMain.test_dataset_describe) is failing due to some encoding issue. #99

@sergey-serebryakov

Description

@sergey-serebryakov

When running unit tests with pytest, one of unit tests (tests.test_cli.TestMain.test_dataset_describe) is failing for the forest_cover_type:default dataset with the following stack trace:
image
(It seems that this does not manifest itself when running this test directly, e.g., pytest tests/rest_cli.py).
The error occurred when the covtype.rst file is read, in particular, when reading this fragment - 30×30m (by character). Will be good to learn why this is happening. Meanwhile, running unit tests with the following command helps to avoid it:

python -X utf8 -m pytest

When this issue is resolved, update the Known Issues section.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions