aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_trapd_exit.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_trapd_exit.py')
-rw-r--r--tests/test_trapd_exit.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_trapd_exit.py b/tests/test_trapd_exit.py
index 594624f..d73fd62 100644
--- a/tests/test_trapd_exit.py
+++ b/tests/test_trapd_exit.py
@@ -1,5 +1,6 @@
import pytest
import unittest
+import sys
import trapd_exit
pid_file="/tmp/test_pid_file"
@@ -33,5 +34,5 @@ class test_cleanup_and_exit(unittest.TestCase):
assert pytest_wrapped_sys_exit.type == SystemExit
assert pytest_wrapped_sys_exit.value.code == 1
-if __name__ == '__main__':
- unittest.main()
+#if __name__ == '__main__':
+# unittest.main()