[Zope3-checkins]
SVN: Zope3/trunk/src/zope/interface/tests/test_interface.py
README.ru.txt added as doctest
Dmitry Vasiliev
dima at hlabs.spb.ru
Thu Apr 28 08:03:00 EDT 2005
Log message for revision 30208:
README.ru.txt added as doctest
Changed:
U Zope3/trunk/src/zope/interface/tests/test_interface.py
-=-
Modified: Zope3/trunk/src/zope/interface/tests/test_interface.py
===================================================================
--- Zope3/trunk/src/zope/interface/tests/test_interface.py 2005-04-28 12:00:11 UTC (rev 30207)
+++ Zope3/trunk/src/zope/interface/tests/test_interface.py 2005-04-28 12:03:00 UTC (rev 30208)
@@ -146,7 +146,7 @@
# Make sure function attributes become tagged values.
meth = _I1['f12']
self.assertEqual(meth.getTaggedValue('optional'), 1)
-
+
def testInvariant(self):
# set up
o = InvariantC()
@@ -323,6 +323,11 @@
globs={'__name__': '__main__'},
optionflags=doctest.NORMALIZE_WHITESPACE,
))
+ suite.addTest(doctest.DocFileSuite(
+ '../README.ru.txt',
+ globs={'__name__': '__main__'},
+ optionflags=doctest.NORMALIZE_WHITESPACE,
+ ))
return suite
def main():
More information about the Zope3-Checkins
mailing list