[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Skip couple manual unit tests on OSX
commit 3519790cb186f1442883c928434819c6637e22d9
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Sun Mar 27 14:05:16 2016 -0700
Skip couple manual unit tests on OSX
OSX is still proving an issue for some of these assertions. Skipping the tests
for now...
https://trac.torproject.org/projects/tor/ticket/18660
---
test/unit/manual.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/test/unit/manual.py b/test/unit/manual.py
index be0ee9c..7d9cf2a 100644
--- a/test/unit/manual.py
+++ b/test/unit/manual.py
@@ -131,6 +131,9 @@ 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():
+ test.runner.skip(self, '(man lacks --encoding arg on OSX, #18660)')
+ return
manual = stem.manual.Manual.from_man(EXAMPLE_MAN_PATH)
@@ -151,6 +154,9 @@ 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():
+ test.runner.skip(self, '(man lacks --encoding arg on OSX, #18660)')
+ return
manual = stem.manual.Manual.from_man(UNKNOWN_OPTIONS_MAN_PATH)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits