mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #23620 -- Used more specific assertions in the Django test suite.
This commit is contained in:
parent
c0c78f1b70
commit
f7969b0920
83 changed files with 419 additions and 429 deletions
|
@ -14,4 +14,4 @@ class DefaultTests(TestCase):
|
|||
|
||||
self.assertIsInstance(a.id, six.integer_types)
|
||||
self.assertEqual(a.headline, "Default headline")
|
||||
self.assertTrue((now - a.pub_date).seconds < 5)
|
||||
self.assertLess((now - a.pub_date).seconds, 5)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue