[Zope3-checkins] SVN: Zope3/trunk/src/zope/schema/ Converted XXX to
TODO.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Jul 13 12:51:32 EDT 2004
Log message for revision 26468:
Converted XXX to TODO.
Changed:
U Zope3/trunk/src/zope/schema/_field.py
U Zope3/trunk/src/zope/schema/tests/test_listfield.py
U Zope3/trunk/src/zope/schema/tests/test_setfield.py
U Zope3/trunk/src/zope/schema/tests/test_vocabulary.py
-=-
Modified: Zope3/trunk/src/zope/schema/_field.py
===================================================================
--- Zope3/trunk/src/zope/schema/_field.py 2004-07-13 16:49:41 UTC (rev 26467)
+++ Zope3/trunk/src/zope/schema/_field.py 2004-07-13 16:51:32 UTC (rev 26468)
@@ -130,7 +130,7 @@
implements(IBytesLine)
def constraint(self, value):
- # XXX we should probably use a more general definition of newlines
+ # TODO: we should probably use a more general definition of newlines
return '\n' not in value
Modified: Zope3/trunk/src/zope/schema/tests/test_listfield.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_listfield.py 2004-07-13 16:49:41 UTC (rev 26467)
+++ Zope3/trunk/src/zope/schema/tests/test_listfield.py 2004-07-13 16:51:32 UTC (rev 26468)
@@ -90,7 +90,7 @@
self.assertRaises(WrongContainedType, field.validate, [3.14159,] )
def testCorrectValueType(self):
- # allow value_type of None (XXX)
+ # TODO: We should not allow for a None valeu type.
List(value_type=None)
# do not allow arbitrary value types
Modified: Zope3/trunk/src/zope/schema/tests/test_setfield.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_setfield.py 2004-07-13 16:49:41 UTC (rev 26467)
+++ Zope3/trunk/src/zope/schema/tests/test_setfield.py 2004-07-13 16:51:32 UTC (rev 26468)
@@ -99,7 +99,7 @@
field.validate, sets.Set((3.14159,)))
def testCorrectValueType(self):
- # allow value_type of None (XXX)
+ # TODO: We should not allow for a None valeu type.
Set(value_type=None)
# do not allow arbitrary value types
Modified: Zope3/trunk/src/zope/schema/tests/test_vocabulary.py
===================================================================
--- Zope3/trunk/src/zope/schema/tests/test_vocabulary.py 2004-07-13 16:49:41 UTC (rev 26467)
+++ Zope3/trunk/src/zope/schema/tests/test_vocabulary.py 2004-07-13 16:51:32 UTC (rev 26468)
@@ -55,7 +55,7 @@
r = vocabulary.getVocabularyRegistry()
self.assert_(interfaces.IVocabularyRegistry.providedBy(r))
- # XXX still need to test the default implementation
+ # TODO: still need to test the default implementation
class SampleTerm:
pass
More information about the Zope3-Checkins
mailing list