We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd201f8 commit 2fc99bdCopy full SHA for 2fc99bd
1 file changed
tests/test_openml/test_cli.py
@@ -19,9 +19,10 @@ def test_cli_version_prints_package_version():
19
check=False,
20
)
21
22
- # Ensure successful exit and version present in output
+ # Ensure successful exit and version present in stdout only
23
assert result.returncode == 0
24
- assert openml.__version__ in (result.stdout + result.stderr)
+ assert result.stderr == ""
25
+ assert openml.__version__ in result.stdout
26
27
28
def test_console_script_version_prints_package_version():
@@ -39,4 +40,5 @@ def test_console_script_version_prints_package_version():
39
40
41
42
43
44
0 commit comments