Skip to content

Commit 7df6a62

Browse files
authored
Update pytest_echo.py
1 parent 1e8fe11 commit 7df6a62

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pytest_echo.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
# -*- coding: utf-8 -*-
2-
from __future__ import print_function
3-
41
import fnmatch
52
import os
63
from pprint import pformat
74

85
import pkg_resources
6+
import pytest
97
from pkg_resources import DistributionNotFound
108

11-
__version__ = '1.7.1'
9+
__version__ = '1.7.2'
1210

1311

1412
def get_installed_distributions():
@@ -168,6 +166,7 @@ def pytest_report_header(config):
168166
return "\n".join(ret)
169167

170168

169+
@pytest.hookimpl()
171170
def pytest_addoption(parser):
172171
group = parser.getgroup("general")
173172
group.addoption('--echo-env', action='append', dest="echo_envs",

0 commit comments

Comments
 (0)