summaryrefslogtreecommitdiff
path: root/fail2ban
diff options
context:
space:
mode:
authorsebres <info@sebres.de>2021-09-19 18:52:34 +0200
committersebres <serg.brester@sebres.de>2021-12-02 18:44:24 +0100
commit21d94ff178192116eb5288190d78dd4630534a7b (patch)
treeaccd5fba1c89f414a42761a9087a80493bff2d17 /fail2ban
parent196c55e93103d1e56d1336f27a5f2591b4e54fef (diff)
downloadfail2ban-21d94ff178192116eb5288190d78dd4630534a7b.tar.gz
amend to fix gh-3098: no option `--disable-2to3` anymore
Diffstat (limited to 'fail2ban')
-rw-r--r--fail2ban/tests/misctestcase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fail2ban/tests/misctestcase.py b/fail2ban/tests/misctestcase.py
index 97669be0..e2faa6fd 100644
--- a/fail2ban/tests/misctestcase.py
+++ b/fail2ban/tests/misctestcase.py
@@ -111,7 +111,7 @@ class SetupTest(unittest.TestCase):
supdbgout = ' >/dev/null 2>&1' if unittest.F2B.log_level >= logging.DEBUG else '' # HEAVYDEBUG
try:
# try dry-run:
- os.system("%s %s --dry-run install --disable-2to3 --root=%s%s"
+ os.system("%s %s --dry-run install --root=%s%s"
% (sys.executable, self.setup , tmp, supdbgout))
# check nothing was created:
self.assertTrue(not os.listdir(tmp))
@@ -127,7 +127,7 @@ class SetupTest(unittest.TestCase):
# suppress stdout (and stderr) if not heavydebug
supdbgout = ' >/dev/null' if unittest.F2B.log_level >= logging.DEBUG else '' # HEAVYDEBUG
try:
- self.assertEqual(os.system("%s %s install --disable-2to3 --root=%s%s"
+ self.assertEqual(os.system("%s %s install --root=%s%s"
% (sys.executable, self.setup, tmp, supdbgout)), 0)
def strippath(l):