Skip to content

Commit

Permalink
ci: Travis: COLUMNS=120 (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed authored Nov 7, 2019
1 parent 0c000c3 commit 0c0c1c5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ before_script:
fi
- tox --notest -vv

script: tox -vv
script: env COLUMNS=120 tox -vv

after_success:
- |
Expand Down
2 changes: 0 additions & 2 deletions testing/test_pytester.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,6 @@ def test_testdir_respects_monkeypatch(method, testdir, monkeypatch):
monkeypatch.setenv("COLUMNS", "12")
else:
assert method == "delenv"
with pytest.raises(KeyError):
monkeypatch.delenv("COLUMNS")
monkeypatch.delenv("COLUMNS", raising=False)
assert "COLUMNS" not in testdir._get_env_run_update()

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ commands =
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest {posargs:{env:_PYTEST_TOX_DEFAULT_POSARGS:}}
coverage: coverage combine
coverage: coverage report -m
passenv = USER USERNAME COVERAGE_* TRAVIS PYTEST_ADDOPTS PYTEST_REORDER_TESTS TERM
passenv = USER USERNAME COVERAGE_* TRAVIS PYTEST_ADDOPTS PYTEST_REORDER_TESTS TERM COLUMNS
setenv =
_PYTEST_TOX_DEFAULT_POSARGS={env:_PYTEST_TOX_POSARGS_LSOF:} {env:_PYTEST_TOX_POSARGS_XDIST:}

Expand Down

0 comments on commit 0c0c1c5

Please sign in to comment.