Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3:Update
python-flit
merged_pr_278.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File merged_pr_278.patch of Package python-flit
From 6a6b7ff1d4cfb061c42c16b1740c4dac22cda91c Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier <bussonniermatthias@gmail.com> Date: Thu, 25 Jul 2019 20:31:38 -0700 Subject: [PATCH] Fix CI error on test_misspelled_key Error seem to be due to pytest wrapping errors, and the str() representation of the error not always having the full error message of the underlying error. --- tests/test_inifile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_inifile.py b/tests/test_inifile.py index 1f7adbd..3dc3abc 100644 --- a/tests/test_inifile.py +++ b/tests/test_inifile.py @@ -40,7 +40,7 @@ def test_misspelled_key(): with pytest.raises(ConfigError) as e_info: read_pkg_ini(samples_dir / 'misspelled-key.ini') - assert 'description-file' in str(e_info) + assert 'scription-file' in str(e_info.value) def test_description_file(): info = read_pkg_ini(samples_dir / 'package1-pkg.ini')
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor