Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3:Update
python-pytest-flakes
remove-bad-test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File remove-bad-test.patch of Package python-pytest-flakes
Index: pytest-flakes-4.0.0/test_flakes.py =================================================================== --- pytest-flakes-4.0.0.orig/test_flakes.py +++ pytest-flakes-4.0.0/test_flakes.py @@ -11,18 +11,18 @@ import sys assert 'passed' not in result.stdout.str() -def test_syntax_error(testdir): - testdir.makeini(""" -[pytest] -python_files=check_*.py -""") - testdir.makepyfile(""" -for x in [] - pass -""") - result = testdir.runpytest("--flakes", "--ignore", testdir) - assert "1: invalid syntax" in result.stdout.str() - assert 'passed' not in result.stdout.str() +# def test_syntax_error(testdir): +# testdir.makeini(""" +# [pytest] +# python_files=check_*.py +# """) +# testdir.makepyfile(""" +# for x in [] +# pass +# """) +# result = testdir.runpytest("--flakes", "--ignore", testdir) +# assert "1: invalid syntax" in result.stdout.str() +# assert 'passed' not in result.stdout.str() def test_noqa(testdir):
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