summaryrefslogtreecommitdiff
path: root/tests/helpers/fixtures.py
diff options
context:
space:
mode:
authorJay Kamat <jaygkamat@gmail.com>2019-07-04 18:50:30 -0700
committerJay Kamat <jaygkamat@gmail.com>2019-07-04 18:50:30 -0700
commit8cfbf80934b6b6ef1b3fde48195b01d084cadc68 (patch)
treedeaf60d116c00fc73d9a153fd8acb0ad660d7212 /tests/helpers/fixtures.py
parent76c3de4b8479e309f0d899ba163eb2d09df2b15a (diff)
downloadqutebrowser-8cfbf80934b6b6ef1b3fde48195b01d084cadc68.tar.gz
qutebrowser-8cfbf80934b6b6ef1b3fde48195b01d084cadc68.zip
Fix style issues
Diffstat (limited to 'tests/helpers/fixtures.py')
-rw-r--r--tests/helpers/fixtures.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/helpers/fixtures.py b/tests/helpers/fixtures.py
index ad9de10db..d752456e6 100644
--- a/tests/helpers/fixtures.py
+++ b/tests/helpers/fixtures.py
@@ -553,8 +553,8 @@ def config_tmpdir(monkeypatch, tmpdir):
@pytest.fixture
def config_py_arg(tmpdir, monkeypatch):
- """Arguments needed for the config to init."""
- f = tmpdir.join('temp_config.py')
+ """Set the config_py arg with a custom value for init."""
+ f = tmpdir / 'temp_config.py'
monkeypatch.setattr(
standarddir, 'config_py',
lambda **_kwargs: str(f))