--- you can reply above this line ---

New issue 201: conflicting option string(s): --fixtures
https://bitbucket.org/hpk42/pytest/issue/201/conflicting-option-string-s-fixtures

Sebastian Rahlf:

I've tried to use the new fixtures feature of the upcoming version 2.3 and ran 
into this problem:

    #!pytb
    Traceback (most recent call last):
      File "/home/sebrah/.virtualenvs/tmp/bin/py.test", line 8, in <module>
        load_entry_point('pytest==2.3.0.dev23', 'console_scripts', 'py.test')()
      File 
"/home/sebrah/.virtualenvs/tmp/lib/python2.7/site-packages/_pytest/core.py", 
line 473, in main
        config = _prepareconfig(args, plugins)
      File 
"/home/sebrah/.virtualenvs/tmp/lib/python2.7/site-packages/_pytest/core.py", 
line 463, in _prepareconfig
        pluginmanager=_pluginmanager, args=args)
      File 
"/home/sebrah/.virtualenvs/tmp/lib/python2.7/site-packages/_pytest/core.py", 
line 422, in __call__
        return self._docall(methods, kwargs)
      File 
"/home/sebrah/.virtualenvs/tmp/lib/python2.7/site-packages/_pytest/core.py", 
line 433, in _docall
        res = mc.execute()
      File 
"/home/sebrah/.virtualenvs/tmp/lib/python2.7/site-packages/_pytest/core.py", 
line 351, in execute
        res = method(**kwargs)
      File 
"/home/sebrah/.virtualenvs/tmp/lib/python2.7/site-packages/_pytest/helpconfig.py",
 line 25, in pytest_cmdline_parse
        config = __multicall__.execute()
      File 
"/home/sebrah/.virtualenvs/tmp/lib/python2.7/site-packages/_pytest/core.py", 
line 351, in execute
        res = method(**kwargs)
      File 
"/home/sebrah/.virtualenvs/tmp/lib/python2.7/site-packages/_pytest/config.py", 
line 10, in pytest_cmdline_parse
        config.parse(args)
      File 
"/home/sebrah/.virtualenvs/tmp/lib/python2.7/site-packages/_pytest/config.py", 
line 346, in parse
        args = self._parser.parse_setoption(args, self.option)
      File 
"/home/sebrah/.virtualenvs/tmp/lib/python2.7/site-packages/_pytest/config.py", 
line 72, in parse_setoption
        parsedoption, args = self.parse(args)
      File 
"/home/sebrah/.virtualenvs/tmp/lib/python2.7/site-packages/_pytest/config.py", 
line 67, in parse
        optgroup.add_options(group.options)
      File "/shared/prod/rhel6/python-2.7.1/lib/python2.7/optparse.py", line 
1039, in add_options
        self.add_option(option)
      File "/shared/prod/rhel6/python-2.7.1/lib/python2.7/optparse.py", line 
1020, in add_option
        self._check_conflict(option)
      File "/shared/prod/rhel6/python-2.7.1/lib/python2.7/optparse.py", line 
995, in _check_conflict
        option)
    optparse.OptionConflictError: option -F/--fixtures: conflicting option 
string(s): --fixtures



--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to