Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

pytest-runner doesn't support dry run option #38

@sparkiegeek

Description

@sparkiegeek

platform linux -- Python 3.6.3, pytest-3.1.3, py-1.4.34, pluggy-0.4.0

$ ./setup.py --dry-run test 
running pytest
-✂ for brevity ✂-
Traceback (most recent call last):
  File "./setup.py", line 22, in <module>
    'git-lp-propose=gitlptools:git_lp_propose'],
  File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/path/to/project/.eggs/pytest_runner-3.0-py3.6.egg/ptr.py", line 195, in run
  File "/usr/lib/python3.6/distutils/cmd.py", line 103, in __getattr__
    raise AttributeError(attr)
AttributeError: result_code
$ cat setup.cfg
[aliases]
test=pytest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions