<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-text-html" lang="x-western">
      <div class="WordSection1">I have this in my config file:<br>
        @pytest.fixture(scope='module')<o:p></o:p><br>
        def A(request):<o:p></o:p><br>
            return request.config.getoption("--A")<o:p></o:p><br>
        <o:p> </o:p><br>
        skip_A = pytest.mark.skipif(<o:p></o:p><br>
            A(pytest.config.request),<o:p></o:p><br>
            reason="need --A option to run"<o:p></o:p><br>
        )<o:p></o:p><br>
        <br>
        but when I run it, it says <o:p></o:p><br>
        E   NameError: name 'A' is not defined<o:p></o:p><br>
        <o:p> </o:p><br>
        <o:p></o:p></div>
    </div>
  </body>
</html>