✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ beluga.o2switch.net ​🇻​♯➤ 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 185.154.139.77 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.84
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python34/lib64/python3.4/test//test_bz2.py
from test import support
from test.support import bigmemtest, _4G

import unittest
from io import BytesIO
import os
import pickle
import random
import subprocess
import sys
from test.support import unlink

try:
    import threading
except ImportError:
    threading = None

# Skip tests if the bz2 module doesn't exist.
bz2 = support.import_module('bz2')
from bz2 import BZ2File, BZ2Compressor, BZ2Decompressor


class BaseTest(unittest.TestCase):
    "Base for other testcases."

    TEXT_LINES = [
        b'root:x:0:0:root:/root:/bin/bash\n',
        b'bin:x:1:1:bin:/bin:\n',
        b'daemon:x:2:2:daemon:/sbin:\n',
        b'adm:x:3:4:adm:/var/adm:\n',
        b'lp:x:4:7:lp:/var/spool/lpd:\n',
        b'sync:x:5:0:sync:/sbin:/bin/sync\n',
        b'shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown\n',
        b'halt:x:7:0:halt:/sbin:/sbin/halt\n',
        b'mail:x:8:12:mail:/var/spool/mail:\n',
        b'news:x:9:13:news:/var/spool/news:\n',
        b'uucp:x:10:14:uucp:/var/spool/uucp:\n',
        b'operator:x:11:0:operator:/root:\n',
        b'games:x:12:100:games:/usr/games:\n',
        b'gopher:x:13:30:gopher:/usr/lib/gopher-data:\n',
        b'ftp:x:14:50:FTP User:/var/ftp:/bin/bash\n',
        b'nobody:x:65534:65534:Nobody:/home:\n',
        b'postfix:x:100:101:postfix:/var/spool/postfix:\n',
        b'niemeyer:x:500:500::/home/niemeyer:/bin/bash\n',
        b'postgres:x:101:102:PostgreSQL Server:/var/lib/pgsql:/bin/bash\n',
        b'mysql:x:102:103:MySQL server:/var/lib/mysql:/bin/bash\n',
        b'www:x:103:104::/var/www:/bin/false\n',
        ]
    TEXT = b''.join(TEXT_LINES)
    DATA = b'BZh91AY&SY.\xc8N\x18\x00\x01>_\x80\x00\x10@\x02\xff\xf0\x01\x07n\x00?\xe7\xff\xe00\x01\x99\xaa\x00\xc0\x03F\x86\x8c#&\x83F\x9a\x03\x06\xa6\xd0\xa6\x93M\x0fQ\xa7\xa8\x06\x804hh\x12$\x11\xa4i4\xf14S\xd2<Q\xb5\x0fH\xd3\xd4\xdd\xd5\x87\xbb\xf8\x94\r\x8f\xafI\x12\xe1\xc9\xf8/E\x00pu\x89\x12]\xc9\xbbDL\nQ\x0e\t1\x12\xdf\xa0\xc0\x97\xac2O9\x89\x13\x94\x0e\x1c7\x0ed\x95I\x0c\xaaJ\xa4\x18L\x10\x05#\x9c\xaf\xba\xbc/\x97\x8a#C\xc8\xe1\x8cW\xf9\xe2\xd0\xd6M\xa7\x8bXa<e\x84t\xcbL\xb3\xa7\xd9\xcd\xd1\xcb\x84.\xaf\xb3\xab\xab\xad`n}\xa0lh\tE,\x8eZ\x15\x17VH>\x88\xe5\xcd9gd6\x0b\n\xe9\x9b\xd5\x8a\x99\xf7\x08.K\x8ev\xfb\xf7xw\xbb\xdf\xa1\x92\xf1\xdd|/";\xa2\xba\x9f\xd5\xb1#A\xb6\xf6\xb3o\xc9\xc5y\\\xebO\xe7\x85\x9a\xbc\xb6f8\x952\xd5\xd7"%\x89>V,\xf7\xa6z\xe2\x9f\xa3\xdf\x11\x11"\xd6E)I\xa9\x13^\xca\xf3r\xd0\x03U\x922\xf26\xec\xb6\xed\x8b\xc3U\x13\x9d\xc5\x170\xa4\xfa^\x92\xacDF\x8a\x97\xd6\x19\xfe\xdd\xb8\xbd\x1a\x9a\x19\xa3\x80ankR\x8b\xe5\xd83]\xa9\xc6\x08\x82f\xf6\xb9"6l$\xb8j@\xc0\x8a\xb0l1..\xbak\x83ls\x15\xbc\xf4\xc1\x13\xbe\xf8E\xb8\x9d\r\xa8\x9dk\x84\xd3n\xfa\xacQ\x07\xb1%y\xaav\xb4\x08\xe0z\x1b\x16\xf5\x04\xe9\xcc\xb9\x08z\x1en7.G\xfc]\xc9\x14\xe1B@\xbb!8`'
    EMPTY_DATA = b'BZh9\x17rE8P\x90\x00\x00\x00\x00'
    BAD_DATA = b'this is not a valid bzip2 file'

    def setUp(self):
        self.filename = support.TESTFN

    def tearDown(self):
        if os.path.isfile(self.filename):
            os.unlink(self.filename)

    if sys.platform == "win32":
        # bunzip2 isn't available to run on Windows.
        def decompress(self, data):
            return bz2.decompress(data)
    else:
        def decompress(self, data):
            pop = subprocess.Popen("bunzip2", shell=True,
                                   stdin=subprocess.PIPE,
                                   stdout=subprocess.PIPE,
                                   stderr=subprocess.STDOUT)
            pop.stdin.write(data)
            pop.stdin.close()
            ret = pop.stdout.read()
            pop.stdout.close()
            if pop.wait() != 0:
                ret = bz2.decompress(data)
            return ret


class BZ2FileTest(BaseTest):
    "Test the BZ2File class."

    def createTempFile(self, streams=1, suffix=b""):
        with open(self.filename, "wb") as f:
            f.write(self.DATA * streams)
            f.write(suffix)

    def testBadArgs(self):
        self.assertRaises(TypeError, BZ2File, 123.456)
        self.assertRaises(ValueError, BZ2File, os.devnull, "z")
        self.assertRaises(ValueError, BZ2File, os.devnull, "rx")
        self.assertRaises(ValueError, BZ2File, os.devnull, "rbt")
        self.assertRaises(ValueError, BZ2File, os.devnull, compresslevel=0)
        self.assertRaises(ValueError, BZ2File, os.devnull, compresslevel=10)

    def testRead(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            self.assertRaises(TypeError, bz2f.read, None)
            self.assertEqual(bz2f.read(), self.TEXT)

    def testReadBadFile(self):
        self.createTempFile(streams=0, suffix=self.BAD_DATA)
        with BZ2File(self.filename) as bz2f:
            self.assertRaises(OSError, bz2f.read)

    def testReadMultiStream(self):
        self.createTempFile(streams=5)
        with BZ2File(self.filename) as bz2f:
            self.assertRaises(TypeError, bz2f.read, None)
            self.assertEqual(bz2f.read(), self.TEXT * 5)

    def testReadMonkeyMultiStream(self):
        # Test BZ2File.read() on a multi-stream archive where a stream
        # boundary coincides with the end of the raw read buffer.
        buffer_size = bz2._BUFFER_SIZE
        bz2._BUFFER_SIZE = len(self.DATA)
        try:
            self.createTempFile(streams=5)
            with BZ2File(self.filename) as bz2f:
                self.assertRaises(TypeError, bz2f.read, None)
                self.assertEqual(bz2f.read(), self.TEXT * 5)
        finally:
            bz2._BUFFER_SIZE = buffer_size

    def testReadTrailingJunk(self):
        self.createTempFile(suffix=self.BAD_DATA)
        with BZ2File(self.filename) as bz2f:
            self.assertEqual(bz2f.read(), self.TEXT)

    def testReadMultiStreamTrailingJunk(self):
        self.createTempFile(streams=5, suffix=self.BAD_DATA)
        with BZ2File(self.filename) as bz2f:
            self.assertEqual(bz2f.read(), self.TEXT * 5)

    def testRead0(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            self.assertRaises(TypeError, bz2f.read, None)
            self.assertEqual(bz2f.read(0), b"")

    def testReadChunk10(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            text = b''
            while True:
                str = bz2f.read(10)
                if not str:
                    break
                text += str
            self.assertEqual(text, self.TEXT)

    def testReadChunk10MultiStream(self):
        self.createTempFile(streams=5)
        with BZ2File(self.filename) as bz2f:
            text = b''
            while True:
                str = bz2f.read(10)
                if not str:
                    break
                text += str
            self.assertEqual(text, self.TEXT * 5)

    def testRead100(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            self.assertEqual(bz2f.read(100), self.TEXT[:100])

    def testPeek(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            pdata = bz2f.peek()
            self.assertNotEqual(len(pdata), 0)
            self.assertTrue(self.TEXT.startswith(pdata))
            self.assertEqual(bz2f.read(), self.TEXT)

    def testReadInto(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            n = 128
            b = bytearray(n)
            self.assertEqual(bz2f.readinto(b), n)
            self.assertEqual(b, self.TEXT[:n])
            n = len(self.TEXT) - n
            b = bytearray(len(self.TEXT))
            self.assertEqual(bz2f.readinto(b), n)
            self.assertEqual(b[:n], self.TEXT[-n:])

    def testReadLine(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            self.assertRaises(TypeError, bz2f.readline, None)
            for line in self.TEXT_LINES:
                self.assertEqual(bz2f.readline(), line)

    def testReadLineMultiStream(self):
        self.createTempFile(streams=5)
        with BZ2File(self.filename) as bz2f:
            self.assertRaises(TypeError, bz2f.readline, None)
            for line in self.TEXT_LINES * 5:
                self.assertEqual(bz2f.readline(), line)

    def testReadLines(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            self.assertRaises(TypeError, bz2f.readlines, None)
            self.assertEqual(bz2f.readlines(), self.TEXT_LINES)

    def testReadLinesMultiStream(self):
        self.createTempFile(streams=5)
        with BZ2File(self.filename) as bz2f:
            self.assertRaises(TypeError, bz2f.readlines, None)
            self.assertEqual(bz2f.readlines(), self.TEXT_LINES * 5)

    def testIterator(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            self.assertEqual(list(iter(bz2f)), self.TEXT_LINES)

    def testIteratorMultiStream(self):
        self.createTempFile(streams=5)
        with BZ2File(self.filename) as bz2f:
            self.assertEqual(list(iter(bz2f)), self.TEXT_LINES * 5)

    def testClosedIteratorDeadlock(self):
        # Issue #3309: Iteration on a closed BZ2File should release the lock.
        self.createTempFile()
        bz2f = BZ2File(self.filename)
        bz2f.close()
        self.assertRaises(ValueError, next, bz2f)
        # This call will deadlock if the above call failed to release the lock.
        self.assertRaises(ValueError, bz2f.readlines)

    def testWrite(self):
        with BZ2File(self.filename, "w") as bz2f:
            self.assertRaises(TypeError, bz2f.write)
            bz2f.write(self.TEXT)
        with open(self.filename, 'rb') as f:
            self.assertEqual(self.decompress(f.read()), self.TEXT)

    def testWriteChunks10(self):
        with BZ2File(self.filename, "w") as bz2f:
            n = 0
            while True:
                str = self.TEXT[n*10:(n+1)*10]
                if not str:
                    break
                bz2f.write(str)
                n += 1
        with open(self.filename, 'rb') as f:
            self.assertEqual(self.decompress(f.read()), self.TEXT)

    def testWriteNonDefaultCompressLevel(self):
        expected = bz2.compress(self.TEXT, compresslevel=5)
        with BZ2File(self.filename, "w", compresslevel=5) as bz2f:
            bz2f.write(self.TEXT)
        with open(self.filename, "rb") as f:
            self.assertEqual(f.read(), expected)

    def testWriteLines(self):
        with BZ2File(self.filename, "w") as bz2f:
            self.assertRaises(TypeError, bz2f.writelines)
            bz2f.writelines(self.TEXT_LINES)
        # Issue #1535500: Calling writelines() on a closed BZ2File
        # should raise an exception.
        self.assertRaises(ValueError, bz2f.writelines, ["a"])
        with open(self.filename, 'rb') as f:
            self.assertEqual(self.decompress(f.read()), self.TEXT)

    def testWriteMethodsOnReadOnlyFile(self):
        with BZ2File(self.filename, "w") as bz2f:
            bz2f.write(b"abc")

        with BZ2File(self.filename, "r") as bz2f:
            self.assertRaises(OSError, bz2f.write, b"a")
            self.assertRaises(OSError, bz2f.writelines, [b"a"])

    def testAppend(self):
        with BZ2File(self.filename, "w") as bz2f:
            self.assertRaises(TypeError, bz2f.write)
            bz2f.write(self.TEXT)
        with BZ2File(self.filename, "a") as bz2f:
            self.assertRaises(TypeError, bz2f.write)
            bz2f.write(self.TEXT)
        with open(self.filename, 'rb') as f:
            self.assertEqual(self.decompress(f.read()), self.TEXT * 2)

    def testSeekForward(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            self.assertRaises(TypeError, bz2f.seek)
            bz2f.seek(150)
            self.assertEqual(bz2f.read(), self.TEXT[150:])

    def testSeekForwardAcrossStreams(self):
        self.createTempFile(streams=2)
        with BZ2File(self.filename) as bz2f:
            self.assertRaises(TypeError, bz2f.seek)
            bz2f.seek(len(self.TEXT) + 150)
            self.assertEqual(bz2f.read(), self.TEXT[150:])

    def testSeekBackwards(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            bz2f.read(500)
            bz2f.seek(-150, 1)
            self.assertEqual(bz2f.read(), self.TEXT[500-150:])

    def testSeekBackwardsAcrossStreams(self):
        self.createTempFile(streams=2)
        with BZ2File(self.filename) as bz2f:
            readto = len(self.TEXT) + 100
            while readto > 0:
                readto -= len(bz2f.read(readto))
            bz2f.seek(-150, 1)
            self.assertEqual(bz2f.read(), self.TEXT[100-150:] + self.TEXT)

    def testSeekBackwardsFromEnd(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            bz2f.seek(-150, 2)
            self.assertEqual(bz2f.read(), self.TEXT[len(self.TEXT)-150:])

    def testSeekBackwardsFromEndAcrossStreams(self):
        self.createTempFile(streams=2)
        with BZ2File(self.filename) as bz2f:
            bz2f.seek(-1000, 2)
            self.assertEqual(bz2f.read(), (self.TEXT * 2)[-1000:])

    def testSeekPostEnd(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            bz2f.seek(150000)
            self.assertEqual(bz2f.tell(), len(self.TEXT))
            self.assertEqual(bz2f.read(), b"")

    def testSeekPostEndMultiStream(self):
        self.createTempFile(streams=5)
        with BZ2File(self.filename) as bz2f:
            bz2f.seek(150000)
            self.assertEqual(bz2f.tell(), len(self.TEXT) * 5)
            self.assertEqual(bz2f.read(), b"")

    def testSeekPostEndTwice(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            bz2f.seek(150000)
            bz2f.seek(150000)
            self.assertEqual(bz2f.tell(), len(self.TEXT))
            self.assertEqual(bz2f.read(), b"")

    def testSeekPostEndTwiceMultiStream(self):
        self.createTempFile(streams=5)
        with BZ2File(self.filename) as bz2f:
            bz2f.seek(150000)
            bz2f.seek(150000)
            self.assertEqual(bz2f.tell(), len(self.TEXT) * 5)
            self.assertEqual(bz2f.read(), b"")

    def testSeekPreStart(self):
        self.createTempFile()
        with BZ2File(self.filename) as bz2f:
            bz2f.seek(-150)
            self.assertEqual(bz2f.tell(), 0)
            self.assertEqual(bz2f.read(), self.TEXT)

    def testSeekPreStartMultiStream(self):
        self.createTempFile(streams=2)
        with BZ2File(self.filename) as bz2f:
            bz2f.seek(-150)
            self.assertEqual(bz2f.tell(), 0)
            self.assertEqual(bz2f.read(), self.TEXT * 2)

    def testFileno(self):
        self.createTempFile()
        with open(self.filename, 'rb') as rawf:
            bz2f = BZ2File(rawf)
            try:
                self.assertEqual(bz2f.fileno(), rawf.fileno())
            finally:
                bz2f.close()
        self.assertRaises(ValueError, bz2f.fileno)

    def testSeekable(self):
        bz2f = BZ2File(BytesIO(self.DATA))
        try:
            self.assertTrue(bz2f.seekable())
            bz2f.read()
            self.assertTrue(bz2f.seekable())
        finally:
            bz2f.close()
        self.assertRaises(ValueError, bz2f.seekable)

        bz2f = BZ2File(BytesIO(), "w")
        try:
            self.assertFalse(bz2f.seekable())
        finally:
            bz2f.close()
        self.assertRaises(ValueError, bz2f.seekable)

        src = BytesIO(self.DATA)
        src.seekable = lambda: False
        bz2f = BZ2File(src)
        try:
            self.assertFalse(bz2f.seekable())
        finally:
            bz2f.close()
        self.assertRaises(ValueError, bz2f.seekable)

    def testReadable(self):
        bz2f = BZ2File(BytesIO(self.DATA))
        try:
            self.assertTrue(bz2f.readable())
            bz2f.read()
            self.assertTrue(bz2f.readable())
        finally:
            bz2f.close()
        self.assertRaises(ValueError, bz2f.readable)

        bz2f = BZ2File(BytesIO(), "w")
        try:
            self.assertFalse(bz2f.readable())
        finally:
            bz2f.close()
        self.assertRaises(ValueError, bz2f.readable)

    def testWritable(self):
        bz2f = BZ2File(BytesIO(self.DATA))
        try:
            self.assertFalse(bz2f.writable())
            bz2f.read()
            self.assertFalse(bz2f.writable())
        finally:
            bz2f.close()
        self.assertRaises(ValueError, bz2f.writable)

        bz2f = BZ2File(BytesIO(), "w")
        try:
            self.assertTrue(bz2f.writable())
        finally:
            bz2f.close()
        self.assertRaises(ValueError, bz2f.writable)

    def testOpenDel(self):
        self.createTempFile()
        for i in range(10000):
            o = BZ2File(self.filename)
            del o

    def testOpenNonexistent(self):
        self.assertRaises(OSError, BZ2File, "/non/existent")

    def testReadlinesNoNewline(self):
        # Issue #1191043: readlines() fails on a file containing no newline.
        data = b'BZh91AY&SY\xd9b\x89]\x00\x00\x00\x03\x80\x04\x00\x02\x00\x0c\x00 \x00!\x9ah3M\x13<]\xc9\x14\xe1BCe\x8a%t'
        with open(self.filename, "wb") as f:
            f.write(data)
        with BZ2File(self.filename) as bz2f:
            lines = bz2f.readlines()
        self.assertEqual(lines, [b'Test'])
        with BZ2File(self.filename) as bz2f:
            xlines = list(bz2f.readlines())
        self.assertEqual(xlines, [b'Test'])

    def testContextProtocol(self):
        f = None
        with BZ2File(self.filename, "wb") as f:
            f.write(b"xxx")
        f = BZ2File(self.filename, "rb")
        f.close()
        try:
            with f:
                pass
        except ValueError:
            pass
        else:
            self.fail("__enter__ on a closed file didn't raise an exception")
        try:
            with BZ2File(self.filename, "wb") as f:
                1/0
        except ZeroDivisionError:
            pass
        else:
            self.fail("1/0 didn't raise an exception")

    @unittest.skipUnless(threading, 'Threading required for this test.')
    def testThreading(self):
        # Issue #7205: Using a BZ2File from several threads shouldn't deadlock.
        data = b"1" * 2**20
        nthreads = 10
        with BZ2File(self.filename, 'wb') as f:
            def comp():
                for i in range(5):
                    f.write(data)
            threads = [threading.Thread(target=comp) for i in range(nthreads)]
            with support.start_threads(threads):
                pass

    def testWithoutThreading(self):
        module = support.import_fresh_module("bz2", blocked=("threading",))
        with module.BZ2File(self.filename, "wb") as f:
            f.write(b"abc")
        with module.BZ2File(self.filename, "rb") as f:
            self.assertEqual(f.read(), b"abc")

    def testMixedIterationAndReads(self):
        self.createTempFile()
        linelen = len(self.TEXT_LINES[0])
        halflen = linelen // 2
        with BZ2File(self.filename) as bz2f:
            bz2f.read(halflen)
            self.assertEqual(next(bz2f), self.TEXT_LINES[0][halflen:])
            self.assertEqual(bz2f.read(), self.TEXT[linelen:])
        with BZ2File(self.filename) as bz2f:
            bz2f.readline()
            self.assertEqual(next(bz2f), self.TEXT_LINES[1])
            self.assertEqual(bz2f.readline(), self.TEXT_LINES[2])
        with BZ2File(self.filename) as bz2f:
            bz2f.readlines()
            self.assertRaises(StopIteration, next, bz2f)
            self.assertEqual(bz2f.readlines(), [])

    def testMultiStreamOrdering(self):
        # Test the ordering of streams when reading a multi-stream archive.
        data1 = b"foo" * 1000
        data2 = b"bar" * 1000
        with BZ2File(self.filename, "w") as bz2f:
            bz2f.write(data1)
        with BZ2File(self.filename, "a") as bz2f:
            bz2f.write(data2)
        with BZ2File(self.filename) as bz2f:
            self.assertEqual(bz2f.read(), data1 + data2)

    def testOpenBytesFilename(self):
        str_filename = self.filename
        try:
            bytes_filename = str_filename.encode("ascii")
        except UnicodeEncodeError:
            self.skipTest("Temporary file name needs to be ASCII")
        with BZ2File(bytes_filename, "wb") as f:
            f.write(self.DATA)
        with BZ2File(bytes_filename, "rb") as f:
            self.assertEqual(f.read(), self.DATA)
        # Sanity check that we are actually operating on the right file.
        with BZ2File(str_filename, "rb") as f:
            self.assertEqual(f.read(), self.DATA)


    # Tests for a BZ2File wrapping another file object:

    def testReadBytesIO(self):
        with BytesIO(self.DATA) as bio:
            with BZ2File(bio) as bz2f:
                self.assertRaises(TypeError, bz2f.read, None)
                self.assertEqual(bz2f.read(), self.TEXT)
            self.assertFalse(bio.closed)

    def testPeekBytesIO(self):
        with BytesIO(self.DATA) as bio:
            with BZ2File(bio) as bz2f:
                pdata = bz2f.peek()
                self.assertNotEqual(len(pdata), 0)
                self.assertTrue(self.TEXT.startswith(pdata))
                self.assertEqual(bz2f.read(), self.TEXT)

    def testWriteBytesIO(self):
        with BytesIO() as bio:
            with BZ2File(bio, "w") as bz2f:
                self.assertRaises(TypeError, bz2f.write)
                bz2f.write(self.TEXT)
            self.assertEqual(self.decompress(bio.getvalue()), self.TEXT)
            self.assertFalse(bio.closed)

    def testSeekForwardBytesIO(self):
        with BytesIO(self.DATA) as bio:
            with BZ2File(bio) as bz2f:
                self.assertRaises(TypeError, bz2f.seek)
                bz2f.seek(150)
                self.assertEqual(bz2f.read(), self.TEXT[150:])

    def testSeekBackwardsBytesIO(self):
        with BytesIO(self.DATA) as bio:
            with BZ2File(bio) as bz2f:
                bz2f.read(500)
                bz2f.seek(-150, 1)
                self.assertEqual(bz2f.read(), self.TEXT[500-150:])

    def test_read_truncated(self):
        # Drop the eos_magic field (6 bytes) and CRC (4 bytes).
        truncated = self.DATA[:-10]
        with BZ2File(BytesIO(truncated)) as f:
            self.assertRaises(EOFError, f.read)
        with BZ2File(BytesIO(truncated)) as f:
            self.assertEqual(f.read(len(self.TEXT)), self.TEXT)
            self.assertRaises(EOFError, f.read, 1)
        # Incomplete 4-byte file header, and block header of at least 146 bits.
        for i in range(22):
            with BZ2File(BytesIO(truncated[:i])) as f:
                self.assertRaises(EOFError, f.read, 1)


class BZ2CompressorTest(BaseTest):
    def testCompress(self):
        bz2c = BZ2Compressor()
        self.assertRaises(TypeError, bz2c.compress)
        data = bz2c.compress(self.TEXT)
        data += bz2c.flush()
        self.assertEqual(self.decompress(data), self.TEXT)

    def testCompressEmptyString(self):
        bz2c = BZ2Compressor()
        data = bz2c.compress(b'')
        data += bz2c.flush()
        self.assertEqual(data, self.EMPTY_DATA)

    def testCompressChunks10(self):
        bz2c = BZ2Compressor()
        n = 0
        data = b''
        while True:
            str = self.TEXT[n*10:(n+1)*10]
            if not str:
                break
            data += bz2c.compress(str)
            n += 1
        data += bz2c.flush()
        self.assertEqual(self.decompress(data), self.TEXT)

    @bigmemtest(size=_4G + 100, memuse=2)
    def testCompress4G(self, size):
        # "Test BZ2Compressor.compress()/flush() with >4GiB input"
        bz2c = BZ2Compressor()
        data = b"x" * size
        try:
            compressed = bz2c.compress(data)
            compressed += bz2c.flush()
        finally:
            data = None  # Release memory
        data = bz2.decompress(compressed)
        try:
            self.assertEqual(len(data), size)
            self.assertEqual(len(data.strip(b"x")), 0)
        finally:
            data = None

    def testPickle(self):
        for proto in range(pickle.HIGHEST_PROTOCOL + 1):
            with self.assertRaises(TypeError):
                pickle.dumps(BZ2Compressor(), proto)


class BZ2DecompressorTest(BaseTest):
    def test_Constructor(self):
        self.assertRaises(TypeError, BZ2Decompressor, 42)

    def testDecompress(self):
        bz2d = BZ2Decompressor()
        self.assertRaises(TypeError, bz2d.decompress)
        text = bz2d.decompress(self.DATA)
        self.assertEqual(text, self.TEXT)

    def testDecompressChunks10(self):
        bz2d = BZ2Decompressor()
        text = b''
        n = 0
        while True:
            str = self.DATA[n*10:(n+1)*10]
            if not str:
                break
            text += bz2d.decompress(str)
            n += 1
        self.assertEqual(text, self.TEXT)

    def testDecompressUnusedData(self):
        bz2d = BZ2Decompressor()
        unused_data = b"this is unused data"
        text = bz2d.decompress(self.DATA+unused_data)
        self.assertEqual(text, self.TEXT)
        self.assertEqual(bz2d.unused_data, unused_data)

    def testEOFError(self):
        bz2d = BZ2Decompressor()
        text = bz2d.decompress(self.DATA)
        self.assertRaises(EOFError, bz2d.decompress, b"anything")
        self.assertRaises(EOFError, bz2d.decompress, b"")

    @bigmemtest(size=_4G + 100, memuse=3.3)
    def testDecompress4G(self, size):
        # "Test BZ2Decompressor.decompress() with >4GiB input"
        blocksize = 10 * 1024 * 1024
        block = random.getrandbits(blocksize * 8).to_bytes(blocksize, 'little')
        try:
            data = block * (size // blocksize + 1)
            compressed = bz2.compress(data)
            bz2d = BZ2Decompressor()
            decompressed = bz2d.decompress(compressed)
            self.assertTrue(decompressed == data)
        finally:
            data = None
            compressed = None
            decompressed = None

    def testPickle(self):
        for proto in range(pickle.HIGHEST_PROTOCOL + 1):
            with self.assertRaises(TypeError):
                pickle.dumps(BZ2Decompressor(), proto)


class CompressDecompressTest(BaseTest):
    def testCompress(self):
        data = bz2.compress(self.TEXT)
        self.assertEqual(self.decompress(data), self.TEXT)

    def testCompressEmptyString(self):
        text = bz2.compress(b'')
        self.assertEqual(text, self.EMPTY_DATA)

    def testDecompress(self):
        text = bz2.decompress(self.DATA)
        self.assertEqual(text, self.TEXT)

    def testDecompressEmpty(self):
        text = bz2.decompress(b"")
        self.assertEqual(text, b"")

    def testDecompressToEmptyString(self):
        text = bz2.decompress(self.EMPTY_DATA)
        self.assertEqual(text, b'')

    def testDecompressIncomplete(self):
        self.assertRaises(ValueError, bz2.decompress, self.DATA[:-10])

    def testDecompressBadData(self):
        self.assertRaises(OSError, bz2.decompress, self.BAD_DATA)

    def testDecompressMultiStream(self):
        text = bz2.decompress(self.DATA * 5)
        self.assertEqual(text, self.TEXT * 5)

    def testDecompressTrailingJunk(self):
        text = bz2.decompress(self.DATA + self.BAD_DATA)
        self.assertEqual(text, self.TEXT)

    def testDecompressMultiStreamTrailingJunk(self):
        text = bz2.decompress(self.DATA * 5 + self.BAD_DATA)
        self.assertEqual(text, self.TEXT * 5)


class OpenTest(BaseTest):
    "Test the open function."

    def open(self, *args, **kwargs):
        return bz2.open(*args, **kwargs)

    def test_binary_modes(self):
        for mode in ("wb", "xb"):
            if mode == "xb":
                unlink(self.filename)
            with self.open(self.filename, mode) as f:
                f.write(self.TEXT)
            with open(self.filename, "rb") as f:
                file_data = self.decompress(f.read())
                self.assertEqual(file_data, self.TEXT)
            with self.open(self.filename, "rb") as f:
                self.assertEqual(f.read(), self.TEXT)
            with self.open(self.filename, "ab") as f:
                f.write(self.TEXT)
            with open(self.filename, "rb") as f:
                file_data = self.decompress(f.read())
                self.assertEqual(file_data, self.TEXT * 2)

    def test_implicit_binary_modes(self):
        # Test implicit binary modes (no "b" or "t" in mode string).
        for mode in ("w", "x"):
            if mode == "x":
                unlink(self.filename)
            with self.open(self.filename, mode) as f:
                f.write(self.TEXT)
            with open(self.filename, "rb") as f:
                file_data = self.decompress(f.read())
                self.assertEqual(file_data, self.TEXT)
            with self.open(self.filename, "r") as f:
                self.assertEqual(f.read(), self.TEXT)
            with self.open(self.filename, "a") as f:
                f.write(self.TEXT)
            with open(self.filename, "rb") as f:
                file_data = self.decompress(f.read())
                self.assertEqual(file_data, self.TEXT * 2)

    def test_text_modes(self):
        text = self.TEXT.decode("ascii")
        text_native_eol = text.replace("\n", os.linesep)
        for mode in ("wt", "xt"):
            if mode == "xt":
                unlink(self.filename)
            with self.open(self.filename, mode) as f:
                f.write(text)
            with open(self.filename, "rb") as f:
                file_data = self.decompress(f.read()).decode("ascii")
                self.assertEqual(file_data, text_native_eol)
            with self.open(self.filename, "rt") as f:
                self.assertEqual(f.read(), text)
            with self.open(self.filename, "at") as f:
                f.write(text)
            with open(self.filename, "rb") as f:
                file_data = self.decompress(f.read()).decode("ascii")
                self.assertEqual(file_data, text_native_eol * 2)

    def test_x_mode(self):
        for mode in ("x", "xb", "xt"):
            unlink(self.filename)
            with self.open(self.filename, mode) as f:
                pass
            with self.assertRaises(FileExistsError):
                with self.open(self.filename, mode) as f:
                    pass

    def test_fileobj(self):
        with self.open(BytesIO(self.DATA), "r") as f:
            self.assertEqual(f.read(), self.TEXT)
        with self.open(BytesIO(self.DATA), "rb") as f:
            self.assertEqual(f.read(), self.TEXT)
        text = self.TEXT.decode("ascii")
        with self.open(BytesIO(self.DATA), "rt") as f:
            self.assertEqual(f.read(), text)

    def test_bad_params(self):
        # Test invalid parameter combinations.
        self.assertRaises(ValueError,
                          self.open, self.filename, "wbt")
        self.assertRaises(ValueError,
                          self.open, self.filename, "xbt")
        self.assertRaises(ValueError,
                          self.open, self.filename, "rb", encoding="utf-8")
        self.assertRaises(ValueError,
                          self.open, self.filename, "rb", errors="ignore")
        self.assertRaises(ValueError,
                          self.open, self.filename, "rb", newline="\n")

    def test_encoding(self):
        # Test non-default encoding.
        text = self.TEXT.decode("ascii")
        text_native_eol = text.replace("\n", os.linesep)
        with self.open(self.filename, "wt", encoding="utf-16-le") as f:
            f.write(text)
        with open(self.filename, "rb") as f:
            file_data = self.decompress(f.read()).decode("utf-16-le")
            self.assertEqual(file_data, text_native_eol)
        with self.open(self.filename, "rt", encoding="utf-16-le") as f:
            self.assertEqual(f.read(), text)

    def test_encoding_error_handler(self):
        # Test with non-default encoding error handler.
        with self.open(self.filename, "wb") as f:
            f.write(b"foo\xffbar")
        with self.open(self.filename, "rt", encoding="ascii", errors="ignore") \
                as f:
            self.assertEqual(f.read(), "foobar")

    def test_newline(self):
        # Test with explicit newline (universal newline mode disabled).
        text = self.TEXT.decode("ascii")
        with self.open(self.filename, "wt", newline="\n") as f:
            f.write(text)
        with self.open(self.filename, "rt", newline="\r") as f:
            self.assertEqual(f.readlines(), [text])


def test_main():
    support.run_unittest(
        BZ2FileTest,
        BZ2CompressorTest,
        BZ2DecompressorTest,
        CompressDecompressTest,
        OpenTest,
    )
    support.reap_children()

if __name__ == '__main__':
    test_main()


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
25 Jul 2024 8.44 AM
root / linksafe
0755
__pycache__
--
25 Jul 2024 8.41 AM
root / linksafe
0755
audiodata
--
25 Jul 2024 8.41 AM
root / linksafe
0755
capath
--
25 Jul 2024 8.41 AM
root / linksafe
0755
cjkencodings
--
25 Jul 2024 8.41 AM
root / linksafe
0755
data
--
25 Jul 2024 8.41 AM
root / linksafe
0755
decimaltestdata
--
25 Jul 2024 8.41 AM
root / linksafe
0755
encoded_modules
--
25 Jul 2024 8.41 AM
root / linksafe
0755
imghdrdata
--
25 Jul 2024 8.41 AM
root / linksafe
0755
sndhdrdata
--
25 Jul 2024 8.41 AM
root / linksafe
0755
subprocessdata
--
25 Jul 2024 8.41 AM
root / linksafe
0755
support
--
25 Jul 2024 8.41 AM
root / linksafe
0755
test_asyncio
--
25 Jul 2024 8.41 AM
root / linksafe
0755
test_email
--
25 Jul 2024 8.41 AM
root / linksafe
0755
test_importlib
--
25 Jul 2024 8.41 AM
root / linksafe
0755
test_json
--
25 Jul 2024 8.41 AM
root / linksafe
0755
tracedmodules
--
25 Jul 2024 8.41 AM
root / linksafe
0755
xmltestdata
--
25 Jul 2024 8.41 AM
root / linksafe
0755
185test.db
16 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
Sine-1000Hz-300ms.aif
60.25 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
__init__.py
0.046 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
__main__.py
0.054 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
_test_multiprocessing.py
120.529 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
audiotests.py
12.126 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
autotest.py
0.206 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
bad_coding.py
0.023 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
bad_coding2.py
0.029 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badcert.pem
1.883 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
badkey.pem
2.111 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
badsyntax_3131.py
0.031 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future10.py
0.093 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future3.py
0.168 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future4.py
0.149 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future5.py
0.18 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
badsyntax_future6.py
0.157 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future7.py
0.191 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future8.py
0.119 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future9.py
0.139 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_pep3120.py
0.014 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
buffer_tests.py
11.107 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
bytecode_helper.py
1.565 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
cfgparser.1
0.021 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
cfgparser.2
19.016 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
cfgparser.3
1.55 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
check_soundcard.vbs
0.401 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
cmath_testcases.txt
133.864 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
coding20731.py
0.018 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
curses_tests.py
1.225 KB
17 Apr 2024 5.09 PM
root / linksafe
0755
datetimetester.py
150.768 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
dh1024.pem
0.293 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
dis_module.py
0.074 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
doctest_aliases.py
0.234 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
double_const.py
1.184 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
empty.vbs
0.068 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
exception_hierarchy.txt
1.688 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
final_a.py
0.401 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
final_b.py
0.401 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
floating_points.txt
15.92 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
fork_wait.py
2.102 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
formatfloat_testcases.txt
7.451 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
future_test1.py
0.224 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
future_test2.py
0.146 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
gdb_sample.py
0.149 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
ieee754.txt
3.206 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
inspect_fodder.py
0.834 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
inspect_fodder2.py
1.386 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
keycert.passwd.pem
1.787 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
keycert.pem
1.741 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
keycert2.pem
1.753 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
keycert3.pem
3.955 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
keycert4.pem
3.962 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
list_tests.py
17.262 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
lock_tests.py
26.896 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
mailcap.txt
1.241 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
make_ssl_certs.py
5.513 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
mapping_tests.py
21.491 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
math_testcases.txt
23.186 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
memory_watchdog.py
0.839 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
mime.types
47.372 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
mock_socket.py
3.31 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
mp_fork_bomb.py
0.438 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
multibytecodec_support.py
14.436 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
nokia.pem
1.878 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
nullbytecert.pem
5.308 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
nullcert.pem
0 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
outstanding_bugs.py
0.361 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
pickletester.py
95.663 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
profilee.py
2.97 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
pstats.pck
65.046 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pycacert.pem
4.206 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pycakey.pem
1.664 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pyclbr_input.py
0.633 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
pydoc_mod.py
0.691 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
pydocfodder.py
6.184 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
pystone.py
7.565 KB
17 Apr 2024 5.09 PM
root / linksafe
0755
randv2_32.pck
7.341 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
randv2_64.pck
7.192 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
randv3.pck
7.816 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
re_tests.py
31.061 KB
17 Apr 2024 5.09 PM
root / linksafe
0755
regrtest.py
60.323 KB
17 Apr 2024 5.09 PM
root / linksafe
0755
relimport.py
0.026 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
reperf.py
0.525 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
revocation.crl
0.61 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
sample_doctest.py
1.017 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
sample_doctest_no_docstrings.py
0.222 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
sample_doctest_no_doctests.py
0.263 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
script_helper.py
8.68 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
selfsigned_pythontestdotnet.pem
0.934 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
seq_tests.py
13.868 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
sgml_input.html
8.1 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
sha256.pem
8.148 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
sortperf.py
4.692 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
ssl_cert.pem
0.847 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
ssl_key.passwd.pem
0.94 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
ssl_key.pem
0.895 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
ssl_servers.py
6.879 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
ssltests.py
0.625 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
string_tests.py
63.248 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
talos-2019-0758.pem
1.299 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test___all__.py
4.113 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test___future__.py
2.438 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test__locale.py
7.724 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test__opcode.py
0.887 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test__osx_support.py
11.5 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_abc.py
13.326 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_abstract_numbers.py
1.492 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_aifc.py
15.139 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_argparse.py
160.403 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_array.py
44.561 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ast.py
42.968 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_asynchat.py
10.899 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_asyncore.py
26.765 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_atexit.py
4.541 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_audioop.py
28.046 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_augassign.py
7.161 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_base64.py
28.902 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bigaddrspace.py
2.919 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bigmem.py
44.181 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_binascii.py
10.658 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_binhex.py
1.473 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_binop.py
12.844 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bisect.py
13.633 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bool.py
11.749 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_buffer.py
155.566 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bufio.py
2.535 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_builtin.py
58.707 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bytes.py
57.01 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bz2.py
32.295 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_calendar.py
42.735 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_call.py
3.085 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_capi.py
18.044 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_cgi.py
18.94 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_cgitb.py
2.491 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_charmapcodec.py
1.752 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_class.py
14.136 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_cmath.py
21.468 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_cmd.py
6.114 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_cmd_line.py
19.911 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_cmd_line_script.py
20.207 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_code.py
3.541 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_code_module.py
2.938 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codeccallbacks.py
37.639 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecencodings_cn.py
3.382 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_codecencodings_hk.py
0.757 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecencodings_iso2022.py
1.43 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecencodings_jp.py
4.864 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecencodings_kr.py
3.029 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecencodings_tw.py
0.737 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecmaps_cn.py
0.753 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecmaps_hk.py
0.401 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecmaps_jp.py
1.728 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecmaps_kr.py
1.189 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecmaps_tw.py
0.713 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecs.py
114.61 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codeop.py
7.451 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_collections.py
50.445 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_colorsys.py
3.835 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_compare.py
3.9 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_compile.py
22.5 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_compileall.py
16.651 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_complex.py
27.483 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_concurrent_futures.py
23.27 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_configparser.py
70.428 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_contains.py
2.579 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_contextlib.py
25.77 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_copy.py
22.224 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_copyreg.py
4.118 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_cprofile.py
5.41 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_crashers.py
1.182 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_crypt.py
1.059 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_csv.py
41.481 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ctypes.py
0.18 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_curses.py
12.655 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_datetime.py
1.811 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dbm.py
5.517 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dbm_dumb.py
7.074 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dbm_gnu.py
3.275 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dbm_ndbm.py
1.584 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_decimal.py
198.924 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_decorators.py
9.598 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_defaultdict.py
5.941 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_deque.py
25.26 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_descr.py
175.812 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_descrtut.py
11.502 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_devpoll.py
4.528 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dict.py
32.362 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dictcomps.py
3.693 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dictviews.py
9.457 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_difflib.py
11.964 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_difflib_expect.html
100.862 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test_dis.py
40.478 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_distutils.py
0.366 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_doctest.py
92.943 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_doctest.txt
0.293 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test_doctest2.py
2.304 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_doctest2.txt
0.383 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test_doctest3.txt
0.08 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test_doctest4.txt
0.238 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test_docxmlrpc.py
8.323 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dummy_thread.py
6.989 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dummy_threading.py
1.765 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dynamic.py
4.374 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dynamicclassattribute.py
9.67 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ensurepip.py
11.421 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_enum.py
56.396 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_enumerate.py
8.005 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_eof.py
0.835 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_epoll.py
8.674 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_errno.py
1.144 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_exception_variations.py
3.941 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_exceptions.py
36.046 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_extcall.py
8.643 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_faulthandler.py
21.181 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_fcntl.py
5.098 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_file.py
11.095 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_file_eintr.py
10.089 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_filecmp.py
8.686 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_fileinput.py
34.129 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_fileio.py
15.577 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_finalization.py
14.21 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_float.py
59.14 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_flufl.py
0.816 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_fnmatch.py
2.839 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_fork1.py
3.694 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_format.py
16.815 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_fractions.py
24.769 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_frame.py
4.419 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ftplib.py
37.372 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_funcattrs.py
13.053 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_functools.py
59.518 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_future.py
4.048 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_future3.py
0.479 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_future4.py
0.103 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_future5.py
0.498 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_gc.py
33.03 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_gdb.py
36.707 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_generators.py
54.268 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_genericpath.py
15.839 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_genexps.py
7.115 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_getargs2.py
23.959 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_getopt.py
6.805 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_getpass.py
6.286 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_gettext.py
22.972 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_glob.py
7.486 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_global.py
1.25 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_grammar.py
33.535 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_grp.py
3.183 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_gzip.py
20.999 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_hash.py
11.435 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_hashlib.py
24.428 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_heapq.py
14.136 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_hmac.py
20.206 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_html.py
4.271 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_htmlparser.py
34.043 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_http_cookiejar.py
73.567 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_http_cookies.py
10.48 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_httplib.py
47.045 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_httpservers.py
32.383 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_idle.py
0.768 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_imaplib.py
17.491 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_imghdr.py
4.31 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_imp.py
19.419 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_import.py
39.276 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_index.py
8.366 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_inspect.py
119.284 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_int.py
17.767 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_int_literal.py
6.965 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_io.py
133.838 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ioctl.py
3.208 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ipaddress.py
74.265 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_isinstance.py
9.933 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_iter.py
29.426 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_iterlen.py
7.12 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_itertools.py
87.804 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_keyword.py
5.703 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_keywordonlyarg.py
7.14 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_kqueue.py
8.218 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_largefile.py
6.4 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_lib2to3.py
0.099 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_linecache.py
4.581 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_list.py
4.332 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_listcomps.py
3.761 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_locale.py
20.155 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_logging.py
141.361 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_long.py
48.019 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_longexp.py
0.301 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_lzma.py
71.027 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_macpath.py
6.005 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_macurl2path.py
1.796 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_mailbox.py
90.508 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_mailcap.py
9.005 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_marshal.py
17.7 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_math.py
45.894 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_memoryio.py
28.345 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_memoryview.py
16.229 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_metaclass.py
6.201 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_mimetypes.py
4.179 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_minidom.py
63.376 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_mmap.py
26.566 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_module.py
7.888 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_modulefinder.py
8.739 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_msilib.py
1.434 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_multibytecodec.py
10.07 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_multiprocessing_fork.py
0.17 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_multiprocessing_forkserver.py
0.176 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_multiprocessing_main_handling.py
11.162 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_multiprocessing_spawn.py
0.171 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_netrc.py
4.499 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_nis.py
1.188 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_nntplib.py
58.395 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_normalization.py
3.15 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ntpath.py
18.09 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_numeric_tower.py
7.272 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_opcodes.py
2.612 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_openpty.py
0.666 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_operator.py
18.172 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_optparse.py
60.8 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ordered_dict.py
11.983 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_os.py
98.208 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ossaudiodev.py
7.047 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_osx_env.py
1.311 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_parser.py
25.502 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pathlib.py
74.593 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pdb.py
33.247 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_peepholer.py
12.8 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep247.py
2.189 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep277.py
6.843 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep292.py
9.583 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep3120.py
1.241 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep3131.py
0.954 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep3151.py
7.308 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep352.py
6.88 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep380.py
28.924 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pickle.py
15.356 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pickletools.py
2.371 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pipes.py
6.321 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pkg.py
9.53 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pkgimport.py
2.722 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pkgutil.py
14.4 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_platform.py
12.122 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_plistlib.py
22.74 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_poll.py
6.398 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_popen.py
2.026 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_poplib.py
15.991 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_posix.py
50.822 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_posixpath.py
22.966 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pow.py
4.485 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pprint.py
29.852 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_print.py
4.158 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_profile.py
7.613 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_property.py
7.626 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pstats.py
1.265 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_pty.py
11.021 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pulldom.py
12.175 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pwd.py
4.127 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_py_compile.py
4.947 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pyclbr.py
6.847 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pydoc.py
39.373 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pyexpat.py
27.2 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_queue.py
12.836 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_quopri.py
7.858 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_raise.py
11.078 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_random.py
31.32 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_range.py
22.896 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_re.py
73.164 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_readline.py
2.365 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_regrtest.py
10.362 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_reprlib.py
14.269 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_resource.py
6.458 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_richcmp.py
10.834 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_rlcompleter.py
4.592 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_robotparser.py
7.353 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_runpy.py
28.641 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sax.py
41.756 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sched.py
6.434 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_scope.py
19.76 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_script_helper.py
5.021 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_select.py
2.678 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_selectors.py
14.961 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_set.py
62.656 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_setcomps.py
3.703 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_shelve.py
6.123 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_shlex.py
5.773 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_shutil.py
72.374 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_signal.py
33.076 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_site.py
18.808 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_slice.py
8.084 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_smtpd.py
22.056 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_smtplib.py
35.021 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_smtpnet.py
2.759 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sndhdr.py
0.848 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_socket.py
191.198 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_socketserver.py
10.829 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sort.py
8.949 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_source_encoding.py
5.142 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_spwd.py
2.285 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sqlite.py
0.872 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ssl.py
130.328 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ssl.py.openssl11
129.641 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test_startfile.py
1.211 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_stat.py
6.833 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_statistics.py
68.885 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_strftime.py
7.424 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_string.py
7.694 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_stringprep.py
3.119 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_strlit.py
8.027 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_strptime.py
28.136 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_strtod.py
20.111 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_struct.py
26.905 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_structmembers.py
4.774 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_structseq.py
3.947 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_subprocess.py
108.35 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sunau.py
4.554 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_sundry.py
2.169 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_super.py
4.431 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_support.py
10.094 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_symtable.py
5.82 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_syntax.py
17.645 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sys.py
38.818 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sys_setprofile.py
11.089 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sys_settrace.py
24.66 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sysconfig.py
16.425 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_syslog.py
1.198 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_systemtap.py
8.862 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_systemtap.py.systemtap
0 KB
17 Apr 2024 5.05 PM
root / linksafe
0644
test_tarfile.py
79.109 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_tcl.py
26.918 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_telnetlib.py
12.677 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_tempfile.py
44.399 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_textwrap.py
35.646 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_thread.py
8.091 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_threaded_import.py
8.25 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_threadedtempfile.py
1.887 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_threading.py
38.229 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_threading_local.py
6.136 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_threadsignals.py
9.22 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_time.py
29.969 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_timeit.py
11.919 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_timeout.py
11.112 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_tk.py
0.447 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_tokenize.py
48.448 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_trace.py
14.454 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_traceback.py
17.819 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_tracemalloc.py
30.244 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ttk_guionly.py
0.827 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ttk_textonly.py
0.396 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_tuple.py
6.987 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_typechecks.py
2.637 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_types.py
42.964 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ucn.py
9.407 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unary.py
1.711 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unicode.py
122.379 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unicode_file.py
5.728 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unicodedata.py
12.064 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unittest.py
0.279 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_univnewlines.py
3.83 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unpack.py
2.558 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unpack_ex.py
4.04 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urllib.py
59.025 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urllib2.py
65.683 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urllib2_localnet.py
25.609 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urllib2net.py
11.96 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urllib_response.py
1.688 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urllibnet.py
8.784 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urlparse.py
51.508 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_userdict.py
7.711 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_userlist.py
1.852 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_userstring.py
1.457 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_uu.py
7.391 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_uuid.py
21.841 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_venv.py
16.164 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_wait3.py
1.13 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_wait4.py
1.113 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_warnings.py
37.125 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_wave.py
3.929 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_weakref.py
62.023 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_weakset.py
15.182 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_webbrowser.py
5.65 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_winreg.py
20.521 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_winsound.py
8.857 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_with.py
25.852 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_wsgiref.py
22.498 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_xdrlib.py
2.29 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_xml_dom_minicompat.py
4.182 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_xml_etree.py
106.562 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_xml_etree_c.py
3.988 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_xmlrpc.py
42.052 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_xmlrpc_net.py
1.027 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_zipfile.py
76.192 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_zipfile64.py
5.563 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_zipimport.py
17.693 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_zipimport_support.py
10.45 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_zlib.py
26.785 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
testcodec.py
1.021 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
testtar.tar
425 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
tf_inherit_check.py
0.563 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
threaded_import_hangers.py
1.449 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
time_hashlib.py
2.827 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
0.434 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
0.296 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
0.411 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
0.319 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
tokenize_tests.txt
2.654 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
warning_tests.py
0.234 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
win_console_handler.py
1.383 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
xmltests.py
0.487 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
zip_cp437_header.zip
0.264 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
zipdir.zip
0.365 KB
18 Mar 2019 4.51 PM
root / linksafe
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF