Skip to content

Commit

Permalink
One of those should be a b
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Sep 15, 2016
1 parent e108208 commit 0e2bc67
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/zope/schema/tests/test__field.py
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ def test_validate_wrong_types(self):

field = self._makeOne()
self.assertRaises(WrongType, field.validate, u'')
self.assertRaises(WrongType, field.validate, u'')
self.assertRaises(WrongType, field.validate, b'')
self.assertRaises(WrongType, field.validate, 1)
self.assertRaises(WrongType, field.validate, 1.0)
self.assertRaises(WrongType, field.validate, ())
Expand Down Expand Up @@ -1361,7 +1361,7 @@ def test_validate_wrong_types(self):

field = self._makeOne()
self.assertRaises(WrongType, field.validate, u'')
self.assertRaises(WrongType, field.validate, u'')
self.assertRaises(WrongType, field.validate, b'')
self.assertRaises(WrongType, field.validate, 1)
self.assertRaises(WrongType, field.validate, 1.0)
self.assertRaises(WrongType, field.validate, [])
Expand Down Expand Up @@ -1436,7 +1436,7 @@ def test_validate_wrong_types(self):

field = self._makeOne()
self.assertRaises(WrongType, field.validate, u'')
self.assertRaises(WrongType, field.validate, u'')
self.assertRaises(WrongType, field.validate, b'')
self.assertRaises(WrongType, field.validate, 1)
self.assertRaises(WrongType, field.validate, 1.0)
self.assertRaises(WrongType, field.validate, ())
Expand Down Expand Up @@ -1517,7 +1517,7 @@ def test_validate_wrong_types(self):

field = self._makeOne()
self.assertRaises(WrongType, field.validate, u'')
self.assertRaises(WrongType, field.validate, u'')
self.assertRaises(WrongType, field.validate, b'')
self.assertRaises(WrongType, field.validate, 1)
self.assertRaises(WrongType, field.validate, 1.0)
self.assertRaises(WrongType, field.validate, ())
Expand Down Expand Up @@ -1601,7 +1601,7 @@ def test_validate_wrong_types(self):

field = self._makeOne()
self.assertRaises(WrongType, field.validate, u'')
self.assertRaises(WrongType, field.validate, u'')
self.assertRaises(WrongType, field.validate, b'')
self.assertRaises(WrongType, field.validate, 1)
self.assertRaises(WrongType, field.validate, 1.0)
self.assertRaises(WrongType, field.validate, ())
Expand Down

0 comments on commit 0e2bc67

Please sign in to comment.