mirror of
https://github.com/django/django.git
synced 2025-11-03 05:13:23 +00:00
* assertIsNone()/assertIsNotNone() instead of comparing to None. * assertLess() for < comparisons. * assertIs() for 'is' expressions. * assertIsInstance() for isinstance() expressions. * rounding of assertAlmostEqual() for round() expressions. * assertIs(..., True/False) instead of comparing to True/False. * assertIs()/assertIsNot() for ==/!= comparisons. * assertNotEqual() for == comparisons. * assertTrue()/assertFalse() instead of comparing to True/False. |
||
|---|---|---|
| .. | ||
| comparison | ||
| datetime | ||
| math | ||
| migrations | ||
| text | ||
| window | ||
| __init__.py | ||
| models.py | ||
| tests.py | ||