New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

asserts

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asserts - pypi Package Compare versions

Comparing version
0.13.0
to
0.13.1
+3
-3
asserts/__init__.py

@@ -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"

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

[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]