diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2020-05-06 18:26:44 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 18:26:44 -0300 |
commit | 6c2d35891879408ccd1ca0d05355d3baa046f9da (patch) | |
tree | 7d4ecb7ac7847ab2bc13cb4afde4bc5a65611533 /testing/test_config.py | |
parent | 4d439760adddc2161517188e16e2adf11ac4ac38 (diff) | |
parent | e40bf1d1da6771f951bd4b6126fc3cb107a7c9e7 (diff) | |
download | pytest-6c2d35891879408ccd1ca0d05355d3baa046f9da.tar.gz |
Merge pull request #7135 from pytest-dev/terminalwriter
Diffstat (limited to 'testing/test_config.py')
-rw-r--r-- | testing/test_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_config.py b/testing/test_config.py index a01568608..f6bf0499f 100644 --- a/testing/test_config.py +++ b/testing/test_config.py @@ -1255,7 +1255,7 @@ def test_help_formatter_uses_py_get_terminal_width(monkeypatch): formatter = DropShorterLongHelpFormatter("prog") assert formatter._width == 90 - monkeypatch.setattr("py.io.get_terminal_width", lambda: 160) + monkeypatch.setattr("_pytest._io.get_terminal_width", lambda: 160) formatter = DropShorterLongHelpFormatter("prog") assert formatter._width == 160 |