asserts
Advanced tools
@@ -27,3 +27,3 @@ """ | ||
| import sys | ||
| from datetime import datetime, timedelta | ||
| from datetime import datetime, timedelta, timezone | ||
| from json import loads as json_loads | ||
@@ -849,3 +849,3 @@ from typing import Any, Callable, Set | ||
| >>> assert_datetime_about_now_utc(datetime.utcnow()) | ||
| >>> assert_datetime_about_now_utc(datetime.now(timezone.utc).replace(tzinfo=None)) | ||
| >>> assert_datetime_about_now_utc(datetime(1900, 1, 1, 12, 0, 0)) | ||
@@ -862,3 +862,3 @@ Traceback (most recent call last): | ||
| now = datetime.utcnow() | ||
| now = datetime.now(timezone.utc).replace(tzinfo=None) | ||
| if actual is None: | ||
@@ -865,0 +865,0 @@ msg = "None is not a valid date/time" |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: asserts | ||
| Version: 0.13.0 | ||
| Version: 0.13.1 | ||
| Summary: Stand-alone Assertions | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/srittau/python-asserts |
+4
-4
| [tool.poetry] | ||
| name = "asserts" | ||
| version = "0.13.0" | ||
| version = "0.13.1" | ||
| description = "Stand-alone Assertions" | ||
@@ -29,5 +29,5 @@ readme = "README.md" | ||
| [tool.poetry.group.dev.dependencies] | ||
| mypy = "~1.9.0" | ||
| poethepoet = "^0.25.0" | ||
| ruff = "^0.3.2" | ||
| mypy = ">=1.9,<1.11" | ||
| poethepoet = ">=0.25,<0.27" | ||
| ruff = ">=0.3.2,<0.5.0" | ||
@@ -34,0 +34,0 @@ [tool.ruff] |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
63828
0.14%