diff options
author | Jean-François Roche <jfroche@affinitic.be> | 2014-01-21 17:03:04 +0100 |
---|---|---|
committer | Jean-François Roche <jfroche@affinitic.be> | 2014-01-21 17:03:04 +0100 |
commit | 496256cba645662fc7cf2e1b4879ea6a4279c70e (patch) | |
tree | c23d937dcd1ebb7cd7602910b7655369607c46e5 /src | |
parent | 42e460c44c5303bc08883f51227820ac6addf4d4 (diff) | |
download | zope-schema-496256cba645662fc7cf2e1b4879ea6a4279c70e.tar.gz |
be more explicit in comment
Diffstat (limited to 'src')
-rw-r--r-- | src/zope/schema/tests/test_fieldproperty.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zope/schema/tests/test_fieldproperty.py b/src/zope/schema/tests/test_fieldproperty.py index 4b59245..81cdd43 100644 --- a/src/zope/schema/tests/test_fieldproperty.py +++ b/src/zope/schema/tests/test_fieldproperty.py @@ -146,8 +146,9 @@ class FieldPropertyTests(_Base, _Integration): class Foo(object): testing = prop foo = Foo() + # field initialize its default to None if it hasn't any default + # it should be zope.schema.NO_VALUE as 'None' has another semantic self.assertEqual(prop.queryValue(foo, 'test'), None) - # it should be NO_VALUE ... def test___get___from_class(self): prop = self._makeOne() |