✘✘ 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/python37/lib64/python3.7/test/test_asyncio//test_context.py
import asyncio
import decimal
import unittest


@unittest.skipUnless(decimal.HAVE_CONTEXTVAR, "decimal is built with a thread-local context")
class DecimalContextTest(unittest.TestCase):

    def test_asyncio_task_decimal_context(self):
        async def fractions(t, precision, x, y):
            with decimal.localcontext() as ctx:
                ctx.prec = precision
                a = decimal.Decimal(x) / decimal.Decimal(y)
                await asyncio.sleep(t)
                b = decimal.Decimal(x) / decimal.Decimal(y ** 2)
                return a, b

        async def main():
            r1, r2 = await asyncio.gather(
                fractions(0.1, 3, 1, 3), fractions(0.2, 6, 1, 3))

            return r1, r2

        r1, r2 = asyncio.run(main())

        self.assertEqual(str(r1[0]), '0.333')
        self.assertEqual(str(r1[1]), '0.111')

        self.assertEqual(str(r2[0]), '0.333333')
        self.assertEqual(str(r2[1]), '0.111111')


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


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
25 Jul 2024 8.42 AM
root / linksafe
0755
__pycache__
--
25 Jul 2024 8.42 AM
root / linksafe
0755
__init__.py
0.238 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
__main__.py
0.057 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
echo.py
0.145 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
echo2.py
0.12 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
echo3.py
0.27 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
functional.py
7.613 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_base_events.py
76.962 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_buffered_proto.py
2.235 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_context.py
0.934 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_events.py
121.862 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_futures.py
26.361 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_locks.py
30.695 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pep492.py
5.899 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_proactor_events.py
33.389 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_queues.py
19.161 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_runners.py
4.898 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_selector_events.py
60.752 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_server.py
3.789 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_sslproto.py
25.722 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_streams.py
32.604 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_subprocess.py
20.554 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_tasks.py
102.325 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_transports.py
3.457 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_unix_events.py
66.019 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_windows_events.py
6.332 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_windows_utils.py
3.988 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
utils.py
16.015 KB
17 Apr 2024 5.36 PM
root / linksafe
0644

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