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

assertlib

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assertlib - pypi Package Compare versions

Comparing version
0.3.1
to
0.3.2
+12
-1
assertlib/assertlib.py

@@ -235,6 +235,17 @@ #!/usr/bin/env python

def assertAtleast(x, y):
# x needs to be atleast y
"""Assert that x is atleast y.
Examples:
>>> x = 10
>>> y = 8
>>> assertAtleast(x, y)
"""
if not x >= y:
raise AssertionError("{0} is not equal to or greater than {1}".format(x, y))
if __name__ == "__main__":
import doctest
doctest.testmod()
+2
-2
Metadata-Version: 1.1
Name: assertlib
Version: 0.3.1
Version: 0.3.2
Summary: assertlib is a standalone library of assertion methods.

@@ -10,3 +10,3 @@ Home-page: http://github.com/antlong/assertlib

Description: UNKNOWN
Keywords: assert assertions validation valid data test testing tests unittest pytest nose
Keywords: assert assertions validation valid data test testing tests unittest pytest nose
Platform: UNKNOWN

@@ -13,0 +13,0 @@ Classifier: Development Status :: 5 - Production/Stable

@@ -7,6 +7,5 @@ #!/usr/bin/env python

name='assertlib',
version='0.3.1',
version='0.3.2',
description='assertlib is a standalone library of assertion methods.',
keywords='assert assertions validation valid data test testing \
tests unittest pytest nose',
keywords='assert assertions validation valid data test testing tests unittest pytest nose',
author='Anthony Long',

@@ -13,0 +12,0 @@ author_email='antlong@gmail.com',