Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:Staging:adi:5
python-snuggs
28-non-strict-xfail.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 28-non-strict-xfail.patch of Package python-snuggs
From 3b8e04a35ed33a7dd89f0194542b22c7bde867f4 Mon Sep 17 00:00:00 2001 From: Bas Couwenberg <sebastic@xs4all.nl> Date: Sat, 25 Nov 2023 14:54:52 +0100 Subject: [PATCH] Use non-strict xfail for failing tests. Ref: #27 --- test_snuggs.py | 3 +++ 1 file changed, 3 insertions(+) --- a/test_snuggs.py +++ b/test_snuggs.py @@ -191,6 +191,7 @@ def test_masked_arr(): # Parse and syntax error testing. +@pytest.mark.xfail(strict=False, reason="https://github.com/mapbox/snuggs/issues/27") def test_missing_closing_paren(): with pytest.raises(SyntaxError) as excinfo: snuggs.eval("(+ 1 2") @@ -206,6 +207,7 @@ def test_missing_func(): assert str(excinfo.value) == "'0' is not a function or operator" +@pytest.mark.xfail(strict=False, reason="https://github.com/mapbox/snuggs/issues/27") def test_missing_func2(): with pytest.raises(SyntaxError) as excinfo: snuggs.eval("(# 1 2)") @@ -221,6 +223,7 @@ def test_undefined_var(): assert str(excinfo.value) == "name 'bogus' is not defined" +@pytest.mark.xfail(strict=False, reason="https://github.com/mapbox/snuggs/issues/27") def test_bogus_higher_order_func(): with pytest.raises(SyntaxError) as excinfo: snuggs.eval("((bogus * 2) 2)")
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