Parcourir la source

Prefix dont_test_spawn_and_kill with underscore

so that nosetests doesn't try to run it.
Marc Abramowitz il y a 11 ans
Parent
commit
b517d3305c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      supervisor/tests/test_process.py

+ 1 - 1
supervisor/tests/test_process.py

@@ -588,7 +588,7 @@ class SubprocessTests(unittest.TestCase):
         instance.dispatchers[stdin_fd].flush_error = errno.EPIPE
         instance.dispatchers[stdin_fd].flush_error = errno.EPIPE
         self.assertRaises(OSError, instance.write, sent)
         self.assertRaises(OSError, instance.write, sent)
 
 
-    def dont_test_spawn_and_kill(self):
+    def _dont_test_spawn_and_kill(self):
         # this is a functional test
         # this is a functional test
         from supervisor.tests.base import makeSpew
         from supervisor.tests.base import makeSpew
         try:
         try: