[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Fix string template
commit d138f557a4513bb1e7a88deb4a148e2565c2dd94
Author: Edmund Wong <ewongbb@xxxxxxxxxxx>
Date: Mon Sep 18 10:00:53 2017 +0800
Fix string template
---
test/integ/process.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/integ/process.py b/test/integ/process.py
index 00929ce1..59299f81 100644
--- a/test/integ/process.py
+++ b/test/integ/process.py
@@ -330,7 +330,7 @@ class TestProcess(unittest.TestCase):
"""
if test.tor_version() < stem.version.Requirement.TORRC_VIA_STDIN:
- skip('(requires )' % stem.version.Requirement.TORRC_VIA_STDIN)
+ skip('(requires %s)' % stem.version.Requirement.TORRC_VIA_STDIN)
with tmp_directory() as data_directory:
torrc = BASIC_RELAY_TORRC % data_directory
@@ -479,7 +479,7 @@ class TestProcess(unittest.TestCase):
"""
if test.tor_version() < stem.version.Requirement.TORRC_VIA_STDIN:
- skip('(requires )' % stem.version.Requirement.TORRC_VIA_STDIN)
+ skip('(requires %s)' % stem.version.Requirement.TORRC_VIA_STDIN)
with tmp_directory() as data_directory:
control_port = random_port()
@@ -575,7 +575,7 @@ class TestProcess(unittest.TestCase):
if not stem.util.system.is_available('sleep'):
skip('(sleep unavailable)')
elif test.tor_version() < stem.version.Requirement.TAKEOWNERSHIP:
- skip('(requires )' % stem.version.Requirement.TAKEOWNERSHIP)
+ skip('(requires %s)' % stem.version.Requirement.TAKEOWNERSHIP)
with tmp_directory() as data_directory:
sleep_process = subprocess.Popen(['sleep', '60'])
@@ -619,7 +619,7 @@ class TestProcess(unittest.TestCase):
"""
if test.tor_version() < stem.version.Requirement.TAKEOWNERSHIP:
- skip('(requires )' % stem.version.Requirement.TAKEOWNERSHIP)
+ skip('(requires %s)' % stem.version.Requirement.TAKEOWNERSHIP)
with tmp_directory() as data_directory:
control_port = random_port()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits