Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: third_party/twisted_8_1/twisted/test/test_split_compat.py

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/twisted_8_1/twisted/test/test_split_compat.py
diff --git a/third_party/twisted_8_1/twisted/test/test_split_compat.py b/third_party/twisted_8_1/twisted/test/test_split_compat.py
deleted file mode 100644
index fe3be37f6760852f6593d2bde8170c3f5cb693ed..0000000000000000000000000000000000000000
--- a/third_party/twisted_8_1/twisted/test/test_split_compat.py
+++ /dev/null
@@ -1,35 +0,0 @@
-import os, string, shutil
-
-from twisted.trial import unittest, util
-from twisted.python import reflect
-
-
-movedModules = [('twisted.protocols.smtp', 'twisted.mail.smtp'),
- ('twisted.protocols.imap4', 'twisted.mail.imap4'),
- ('twisted.protocols.pop3', 'twisted.mail.pop3'),
- ('twisted.protocols.dns', 'twisted.names.dns'),
- ('twisted.protocols.ethernet', 'twisted.pair.ethernet'),
- ('twisted.protocols.raw', 'twisted.pair.raw'),
- ('twisted.protocols.rawudp', 'twisted.pair.rawudp'),
- ('twisted.protocols.ip', 'twisted.pair.ip'),
- ('twisted.protocols.irc', 'twisted.words.protocols.irc'),
- ('twisted.protocols.msn', 'twisted.words.protocols.msn'),
- ('twisted.protocols.toc', 'twisted.words.protocols.toc'),
- ('twisted.protocols.oscar', 'twisted.words.protocols.oscar'),
- ]
-
-
-class TestCompatibility(unittest.TestCase):
- def testCompatibility(self):
- for oldName, newName in movedModules:
- try:
- old = reflect.namedModule(oldName)
- new = reflect.namedModule(newName)
- except ImportError, e:
- continue
- for someName in vars(new):
- if someName == '__doc__':
- continue
- self.assertIdentical(getattr(old, someName),
- getattr(new, someName))
- testCompatibility.suppress = [util.suppress(category=DeprecationWarning)]
« no previous file with comments | « third_party/twisted_8_1/twisted/test/test_socks.py ('k') | third_party/twisted_8_1/twisted/test/test_ssl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698