Blob Blame History Raw
From 022fe7d654bdeba6db6eb26c0f9434f0882174bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Wed, 9 Jun 2021 10:49:33 +0200
Subject: [PATCH 1/2] tests: adjust for slightly different whitespace under
 python3.10

'>   raise' is now '>    raise' (extra space).

For https://bugzilla.redhat.com/show_bug.cgi?id=1908278.
The tests now pass with python3-3.9.5-2.fc34.x86_64 and
python3-3.10.0~b2-3.fc35.x86_64.
---
 tests/test_functional.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_functional.py b/tests/test_functional.py
index f8d41de5b5..5a2e35698d 100644
--- a/tests/test_functional.py
+++ b/tests/test_functional.py
@@ -99,14 +99,14 @@ def test_pytest(capsys):
                   'sybil teardown 4\n'
                   'session_fixture teardown')
     out.then_find('_ fail.rst line=1 column=1 _')
-    out.then_find(  ">   raise Exception('the start!')")
+    out.then_find(  "   raise Exception('the start!')")
     out.then_find('_ fail.rst line=8 column=1 _')
     out.then_find('Y count was 3 instead of 2')
     out.then_find('fail.rst:8: SybilFailure')
     out.then_find('_ fail.rst line=10 column=1 _')
     out.then_find('ValueError: X count was 3 instead of 4')
     out.then_find('_ fail.rst line=14 column=1 _')
-    out.then_find(">       raise Exception('boom!')")
+    out.then_find("       raise Exception('boom!')")
     out.then_find('fail.rst:18: Exception')
 
 
-- 
2.32.0.rc3