We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12c425f commit a0f0415Copy full SHA for a0f0415
1 file changed
tests/test_all.py
@@ -126,10 +126,12 @@ def test_help():
126
127
128
def test_version():
129
- """Check that ``rst-docstrings`` appears in the help text."""
+ """Check that ``rst-docstrings`` appears in the version text."""
130
p = Popen(["flake8", "--version"], stdin=DEVNULL, stdout=PIPE)
131
out, err = p.communicate()
132
133
assert not p.returncode, err
134
- assert b"rst-docstrings:" in out, "should appear in flake8 version string"
+ assert b"rst-docstrings:" in out or b"rst-\ndocstrings:" in out, (
135
+ "should appear in flake8 version string"
136
+ )
137
assert not err
0 commit comments