aboutsummaryrefslogtreecommitdiffstats
path: root/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/test/test_main.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/test/test_main.py')
-rwxr-xr-xlib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/test/test_main.py38
1 files changed, 0 insertions, 38 deletions
diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/test/test_main.py b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/test/test_main.py
deleted file mode 100755
index 12c8a3f2..00000000
--- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/internet/test/test_main.py
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright (c) Twisted Matrix Laboratories.
-# See LICENSE for details.
-
-"""
-Tests for L{twisted.internet.main}.
-"""
-
-from twisted.trial import unittest
-from twisted.internet.error import ReactorAlreadyInstalledError
-from twisted.internet.main import installReactor
-
-
-class InstallReactorTests(unittest.TestCase):
- """
- Tests for L{installReactor}
- """
-
- def test_alreadyInstalled(self):
- """
- If a reactor is already installed, L{installReactor} raises
- L{ReactorAlreadyInstalledError}.
- """
- # Because this test runs in trial, assume a reactor is already
- # installed.
- self.assertRaises(ReactorAlreadyInstalledError, installReactor,
- object())
-
-
- def test_errorIsAnAssertionError(self):
- """
- For backwards compatibility, L{ReactorAlreadyInstalledError} is an
- L{AssertionError}.
- """
- self.assertTrue(issubclass(ReactorAlreadyInstalledError,
- AssertionError))
-
-
-