From 173bd13ece77e4b88c49fa5c45c89290dca4f10e Mon Sep 17 00:00:00 2001 From: holger krekel Date: Fri, 17 Apr 2015 11:57:09 +0200 Subject: [PATCH] backport Y->y fix from floris --HG-- branch : pytest-2.7 --- _pytest/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/python.py b/_pytest/python.py index 292054a0c..7dd4095b8 100644 --- a/_pytest/python.py +++ b/_pytest/python.py @@ -1451,7 +1451,7 @@ class FixtureRequest(FuncargnamesCompatAttr): if scopemismatch(invoking_scope, requested_scope): # try to report something helpful lines = self._factorytraceback() - pytest.fail("ScopeMismatch: you tried to access the %r scoped " + pytest.fail("ScopeMismatch: You tried to access the %r scoped " "fixture %r with a %r scoped request object, " "involved factories\n%s" %( (requested_scope, argname, invoking_scope, "\n".join(lines))),