Blame 8d80c72468282e35fd5476b42c5c03595cd38e99.patch

89c7886
From 8d80c72468282e35fd5476b42c5c03595cd38e99 Mon Sep 17 00:00:00 2001
89c7886
From: Stanislav Levin <slev@altlinux.org>
89c7886
Date: Wed, 5 Aug 2020 14:03:48 +0300
89c7886
Subject: [PATCH] Add compatibility against Pytest 6.0
89c7886
89c7886
Passing arguments to pytest.fixture() as positional arguments is deprecated
89c7886
since Pytest 5.2.0:
89c7886
https://docs.pytest.org/en/stable/changelog.html#pytest-5-2-0-2019-09-28
89c7886
89c7886
Fixes: https://bitbucket.org/fenics-project/ffc/issues/183/self-tests-fails-against-pytest-601
89c7886
Signed-off-by: Stanislav Levin <slev@altlinux.org>
89c7886
---
89c7886
 test/uflacs/crosslanguage/conftest.py | 2 +-
89c7886
 1 file changed, 1 insertion(+), 1 deletion(-)
89c7886
89c7886
diff --git a/test/uflacs/crosslanguage/conftest.py b/test/uflacs/crosslanguage/conftest.py
89c7886
index ec1fdec..61871c1 100644
89c7886
--- a/test/uflacs/crosslanguage/conftest.py
89c7886
+++ b/test/uflacs/crosslanguage/conftest.py
89c7886
@@ -231,7 +231,7 @@ class GTestContext:
89c7886
         self.run()
89c7886
 
89c7886
 
89c7886
-@pytest.fixture("session")
89c7886
+@pytest.fixture(scope="session")
89c7886
 def gtest():
89c7886
     "create initial files for gtest generation"
89c7886
     config = None
89c7886
-- 
89c7886
2.10.5
89c7886