[tor-commits] [stem/master] Skip test_stop() in test.integ.descriptor.reader on Windows.

atagar at torproject.org atagar at torproject.org
Thu Jun 21 15:45:57 UTC 2012


commit 67be8c6435e6d08b71327687ffa1097d01345bf2
Author: Beck Chen <csybeck at gmail.com>
Date:   Fri Jun 15 01:26:22 2012 +0800

    Skip test_stop() in test.integ.descriptor.reader on Windows.
---
 test/integ/descriptor/reader.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/test/integ/descriptor/reader.py b/test/integ/descriptor/reader.py
index bebb917..308e9fe 100644
--- a/test/integ/descriptor/reader.py
+++ b/test/integ/descriptor/reader.py
@@ -12,6 +12,7 @@ import tarfile
 import unittest
 
 import stem.descriptor.reader
+import stem.util.system as system
 import test.runner
 
 BASIC_LISTING = """
@@ -282,6 +283,9 @@ class TestDescriptorReader(unittest.TestCase):
     stop() makes it terminate in a timely fashion.
     """
     
+    # Skip on windows since SIGALRM is unavailable
+    if system.is_windows(): self.skipTest("(SIGALRM unavailable)")
+    
     is_test_running = True
     reader = stem.descriptor.reader.DescriptorReader("/usr")
     





More information about the tor-commits mailing list