Commit fcb52557 authored by Scott Talbert's avatar Scott Talbert

remove temporarily-disable-test_looponfail_removed_test.patch (not needed)

parent b1447e91
......@@ -9,6 +9,7 @@ pytest-xdist (1.22.0-1) UNRELEASED; urgency=medium
* deb/copyright: remove files from exclusion that were removed upstream
* deb/control: add myself to Uploaders and remove Daniel (Closes: #870844)
* deb/control: add pytest-forked dependencies
* remove temporarily-disable-test_looponfail_removed_test.patch (not needed)
-- Scott Talbert <swt@techie.net> Fri, 16 Feb 2018 21:39:29 -0500
......
temporarily-disable-test_looponfail_removed_test.patch
Description: temporarily disable a certain tests always failing
with newer versions of Pytest to prevent FTBFS.
Author: Daniel Stender <stender@debian.org>
Bug: https://github.com/pytest-dev/pytest-xdist/issues/163
Bug-Debian: https://bugs.debian.org/869094
Forwarded: not-needed
--- a/testing/test_looponfail.py
+++ b/testing/test_looponfail.py
@@ -193,29 +193,29 @@
assert 'test_one' not in remotecontrol.failures[0]
assert 'test_two' in remotecontrol.failures[0]
- def test_looponfail_removed_test(self, testdir):
- modcol = testdir.getmodulecol("""
- def test_one():
- assert 0
- def test_two():
- assert 0
- """)
- remotecontrol = RemoteControl(modcol.config)
- remotecontrol.loop_once()
- assert len(remotecontrol.failures) == 2
+ # def test_looponfail_removed_test(self, testdir):
+ # modcol = testdir.getmodulecol("""
+ # def test_one():
+ # assert 0
+ # def test_two():
+ # assert 0
+ # """)
+ # remotecontrol = RemoteControl(modcol.config)
+ # remotecontrol.loop_once()
+ # assert len(remotecontrol.failures) == 2
- modcol.fspath.write(py.code.Source("""
- def test_xxx(): # renamed test
- assert 0
- def test_two():
- assert 1 # pass now
- """))
- removepyc(modcol.fspath)
- remotecontrol.loop_once()
- assert len(remotecontrol.failures) == 0
+ # modcol.fspath.write(py.code.Source("""
+ # def test_xxx(): # renamed test
+ # assert 0
+ # def test_two():
+ # assert 1 # pass now
+ # """))
+ # removepyc(modcol.fspath)
+ # remotecontrol.loop_once()
+ # assert len(remotecontrol.failures) == 0
- remotecontrol.loop_once()
- assert len(remotecontrol.failures) == 1
+ # remotecontrol.loop_once()
+ # assert len(remotecontrol.failures) == 1
def test_looponfail_multiple_errors(self, testdir, monkeypatch):
modcol = testdir.getmodulecol("""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment