[tor-commits] [stem/master] Inverted skip checks

atagar at torproject.org atagar at torproject.org
Sun Mar 27 21:19:04 UTC 2016


commit 7bfc752b69972f7043b260651602b8cb7bc270c4
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Mar 27 14:19:01 2016 -0700

    Inverted skip checks
    
    Baka, skipped on non-osx rather than osx. Oops.
---
 test/unit/manual.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/unit/manual.py b/test/unit/manual.py
index 7d9cf2a..9cbd6ad 100644
--- a/test/unit/manual.py
+++ b/test/unit/manual.py
@@ -131,7 +131,7 @@ class TestManual(unittest.TestCase):
     if not stem.util.system.is_available('man'):
       test.runner.skip(self, '(require man command)')
       return
-    elif not stem.util.system.is_mac():
+    elif stem.util.system.is_mac():
       test.runner.skip(self, '(man lacks --encoding arg on OSX, #18660)')
       return
 
@@ -154,7 +154,7 @@ class TestManual(unittest.TestCase):
     if not stem.util.system.is_available('man'):
       test.runner.skip(self, '(require man command)')
       return
-    elif not stem.util.system.is_mac():
+    elif stem.util.system.is_mac():
       test.runner.skip(self, '(man lacks --encoding arg on OSX, #18660)')
       return
 



More information about the tor-commits mailing list