mirror of
https://github.com/EvolutionAPI/evolution-client-python.git
synced 2025-12-26 15:07:44 -06:00
initial commit
This commit is contained in:
37
env/lib/python3.10/site-packages/pkginfo/tests/__init__.py
vendored
Normal file
37
env/lib/python3.10/site-packages/pkginfo/tests/__init__.py
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
# requirements
|
||||
|
||||
|
||||
def _checkSample(testcase, installed):
|
||||
try:
|
||||
from importlib import metadata as importlib_metadata
|
||||
except ImportError: # python < 3.8
|
||||
import importlib_metadata
|
||||
|
||||
version = importlib_metadata.version('pkginfo')
|
||||
testcase.assertEqual(installed.version, version)
|
||||
testcase.assertEqual(installed.name, 'pkginfo')
|
||||
testcase.assertEqual(installed.keywords,
|
||||
'distribution sdist installed metadata' )
|
||||
testcase.assertEqual(list(installed.supported_platforms), [])
|
||||
|
||||
def _checkClassifiers(testcase, installed):
|
||||
testcase.assertEqual(list(installed.classifiers),
|
||||
[
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: MIT License',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
'Programming Language :: Python :: 3.11',
|
||||
'Programming Language :: Python :: 3.12',
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
'Programming Language :: Python :: Implementation :: PyPy',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
'Topic :: System :: Software Distribution',
|
||||
])
|
||||
|
||||
|
||||
def _defaultMetadataVersion():
|
||||
return '2.1'
|
||||
Reference in New Issue
Block a user