[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 67be8c6435e6d08b71327687ffa1097d01345bf2
Author: Beck Chen <csybeck@xxxxxxxxx>
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")
     



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits