summaryrefslogtreecommitdiff
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
commit8db9fdf865ca0719cf2a37af25b93f53f39eb74c (patch)
tree62eff14e8a3f5238580e4ccbc5306bef4db66483
parentf20056d07d88f5688b02de77ac718e26bf0e2f1c (diff)
downloadpython-coveragepy-8db9fdf865ca0719cf2a37af25b93f53f39eb74c.tar.gz
Oh 2.6, you get me every time
-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 0aaedeb..81cd5ad 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")