summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-12-06 07:21:58 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-12-06 07:21:58 -0500
commitc04ca08067e351a76c54973185ad4ca0cae8b1ae (patch)
treefea3e9e1bc7e765853498263aee46d73a6270e46 /tests/test_process.py
parent19781401fdef007e57fa81f376f8cf0d0365d217 (diff)
downloadpython-coveragepy-git-c04ca08067e351a76c54973185ad4ca0cae8b1ae.tar.gz
Oh 2.6, you get me every time
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index 0aaedeb0..81cd5ade 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -1082,7 +1082,7 @@ def possible_pth_dirs():
def find_writable_pth_directory():
"""Find a place to write a .pth file."""
for pth_dir in possible_pth_dirs(): # pragma: part covered
- try_it = os.path.join(pth_dir, "touch_{}.it".format(WORKER))
+ try_it = os.path.join(pth_dir, "touch_{0}.it".format(WORKER))
with open(try_it, "w") as f:
try:
f.write("foo")