mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 00:22:04 +02:00
Keep lint happy
(But what about py3?)
This commit is contained in:
@@ -73,7 +73,7 @@ class AuthenticatorTest(unittest.TestCase):
|
|||||||
os.chmod(self.path, 0o000)
|
os.chmod(self.path, 0o000)
|
||||||
try:
|
try:
|
||||||
open(permission_canary, "r")
|
open(permission_canary, "r")
|
||||||
print("Warning, running tests as root skips permissions tests...")
|
print "Warning, running tests as root skips permissions tests..."
|
||||||
except IOError:
|
except IOError:
|
||||||
# ok, permissions work, test away...
|
# ok, permissions work, test away...
|
||||||
self.assertRaises(errors.PluginError, self.auth.prepare)
|
self.assertRaises(errors.PluginError, self.auth.prepare)
|
||||||
|
|||||||
Reference in New Issue
Block a user