Run pre-commit
This commit is contained in:
parent
3a78d1e279
commit
9cbf202cbd
2 changed files with 1 additions and 2 deletions
|
|
@ -70,6 +70,7 @@ _DAYNAMES = (None, "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun")
|
|||
|
||||
_INVALID_ISO_ERROR = "Invalid isoformat string: '{}'"
|
||||
|
||||
|
||||
# Utility functions - universal
|
||||
def _cmp(obj_x: Any, obj_y: Any) -> int:
|
||||
return 0 if obj_x == obj_y else 1 if obj_x > obj_y else -1
|
||||
|
|
@ -331,7 +332,6 @@ class timedelta:
|
|||
hours: int = 0,
|
||||
weeks: int = 0,
|
||||
) -> "timedelta":
|
||||
|
||||
# Check that all inputs are ints or floats.
|
||||
if not all(
|
||||
isinstance(i, (int, float))
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@ class HarmlessMixedComparison:
|
|||
|
||||
|
||||
class TestTime(HarmlessMixedComparison, unittest.TestCase):
|
||||
|
||||
theclass = cpy_time
|
||||
theclass_cpython = cpython_time
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue