Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\perch\Desktop\programming\test>git clone https://github.com/PerchunPak/PingerBot.git
- Cloning into 'PingerBot'...
- remote: Enumerating objects: 1355, done.
- remote: Counting objects: 100% (1355/1355), done.
- remote: Compressing objects: 100% (935/935), done.
- remote: Total 1355 (delta 881), reused 754 (delta 377), pack-reused 0
- Receiving objects: 100% (1355/1355), 277.25 KiB | 1.58 MiB/s, done.
- Resolving deltas: 100% (881/881), done.
- C:\Users\perch\Desktop\programming\test>cd PingerBot
- C:\Users\perch\Desktop\programming\test\PingerBot>git checkout rewrite
- Switched to a new branch 'rewrite'
- Branch 'rewrite' set up to track remote branch 'rewrite' from 'origin'.
- C:\Users\perch\Desktop\programming\test\PingerBot>pip install -U pip wheel
- Requirement already satisfied: pip in c:\users\perch\appdata\local\programs\python\python39\lib\site-packages (21.3.1)
- Requirement already satisfied: wheel in c:\users\perch\appdata\local\programs\python\python39\lib\site-packages (0.37.1)
- C:\Users\perch\Desktop\programming\test\PingerBot>mkvirtualenv pytest-asyncio-265
- created virtual environment CPython3.9.7.final.0-64 in 481ms
- creator CPython3Windows(dest=C:\Users\perch\Envs\pytest-asyncio-265, clear=False, no_vcs_ignore=False, global=False)
- seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\perch\AppData\Local\pypa\virtualenv)
- added seed packages: pip==21.3.1, setuptools==60.2.0, wheel==0.37.1
- activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
- (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>pip install -Ur requirements.txt -r tests_requirements.txt
- Collecting discord.py==1.7.3
- Using cached discord.py-1.7.3-py3-none-any.whl (786 kB)
- Collecting asyncpg==0.25.0
- Using cached asyncpg-0.25.0-cp39-cp39-win_amd64.whl (525 kB)
- Collecting matplotlib==3.5.1
- Using cached matplotlib-3.5.1-cp39-cp39-win_amd64.whl (7.2 MB)
- Collecting mcstatus==8.0.0
- Using cached mcstatus-8.0.0-py3-none-any.whl (27 kB)
- Collecting pytest==6.2.5
- Using cached pytest-6.2.5-py3-none-any.whl (280 kB)
- Collecting pytest-asyncio==0.17.2
- Using cached pytest_asyncio-0.17.2-py3-none-any.whl (16 kB)
- Collecting pytest-cov==3.0.0
- Using cached pytest_cov-3.0.0-py3-none-any.whl (20 kB)
- Collecting dpytest==0.5.3
- Using cached dpytest-0.5.3-py3-none-any.whl (26 kB)
- Collecting flake8==4.0.1
- Using cached flake8-4.0.1-py2.py3-none-any.whl (64 kB)
- Collecting pylint==2.12.2
- Using cached pylint-2.12.2-py3-none-any.whl (414 kB)
- Collecting black==21.12b0
- Using cached black-21.12b0-py3-none-any.whl (156 kB)
- Collecting aiohttp<3.8.0,>=3.6.0
- Using cached aiohttp-3.7.4.post0-cp39-cp39-win_amd64.whl (634 kB)
- Collecting numpy>=1.17
- Using cached numpy-1.22.1-cp39-cp39-win_amd64.whl (14.7 MB)
- Collecting cycler>=0.10
- Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
- Collecting fonttools>=4.22.0
- Using cached fonttools-4.28.5-py3-none-any.whl (890 kB)
- Collecting pyparsing>=2.2.1
- Using cached pyparsing-3.0.7-py3-none-any.whl (98 kB)
- Collecting python-dateutil>=2.7
- Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
- Collecting kiwisolver>=1.0.1
- Using cached kiwisolver-1.3.2-cp39-cp39-win_amd64.whl (52 kB)
- Collecting pillow>=6.2.0
- Using cached Pillow-9.0.0-cp39-cp39-win_amd64.whl (3.2 MB)
- Collecting packaging>=20.0
- Using cached packaging-21.3-py3-none-any.whl (40 kB)
- Collecting click==7.1.2
- Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
- Collecting asyncio-dgram==1.2.0
- Using cached asyncio_dgram-1.2.0-py3-none-any.whl (6.1 kB)
- Collecting dnspython==2.1.0
- Using cached dnspython-2.1.0-py3-none-any.whl (241 kB)
- Collecting pluggy<2.0,>=0.12
- Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
- Collecting colorama
- Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
- Collecting attrs>=19.2.0
- Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
- Collecting toml
- Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
- Collecting iniconfig
- Using cached iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
- Collecting py>=1.8.2
- Using cached py-1.11.0-py2.py3-none-any.whl (98 kB)
- Collecting atomicwrites>=1.0
- Using cached atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB)
- Collecting coverage[toml]>=5.2.1
- Using cached coverage-6.2-cp39-cp39-win_amd64.whl (183 kB)
- Collecting pycodestyle<2.9.0,>=2.8.0
- Using cached pycodestyle-2.8.0-py2.py3-none-any.whl (42 kB)
- Collecting mccabe<0.7.0,>=0.6.0
- Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
- Collecting pyflakes<2.5.0,>=2.4.0
- Using cached pyflakes-2.4.0-py2.py3-none-any.whl (69 kB)
- Collecting typing-extensions>=3.10.0
- Using cached typing_extensions-4.0.1-py3-none-any.whl (22 kB)
- Collecting astroid<2.10,>=2.9.0
- Using cached astroid-2.9.3-py3-none-any.whl (254 kB)
- Collecting isort<6,>=4.2.5
- Using cached isort-5.10.1-py3-none-any.whl (103 kB)
- Collecting platformdirs>=2.2.0
- Using cached platformdirs-2.4.1-py3-none-any.whl (14 kB)
- Collecting mypy-extensions>=0.4.3
- Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
- Collecting pathspec<1,>=0.9.0
- Using cached pathspec-0.9.0-py2.py3-none-any.whl (31 kB)
- Collecting tomli<2.0.0,>=0.2.6
- Using cached tomli-1.2.3-py3-none-any.whl (12 kB)
- Collecting async-timeout<4.0,>=3.0
- Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
- Collecting multidict<7.0,>=4.5
- Using cached multidict-5.2.0-cp39-cp39-win_amd64.whl (45 kB)
- Collecting chardet<5.0,>=2.0
- Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
- Collecting yarl<2.0,>=1.0
- Using cached yarl-1.7.2-cp39-cp39-win_amd64.whl (122 kB)
- Collecting lazy-object-proxy>=1.4.0
- Using cached lazy_object_proxy-1.7.1-cp39-cp39-win_amd64.whl (22 kB)
- Requirement already satisfied: setuptools>=20.0 in c:\users\perch\envs\pytest-asyncio-265\lib\site-packages (from astroid<2.10,>=2.9.0->pylint==2.12.2->-r tests_requirements.txt (line 6)) (60.2.0)
- Collecting wrapt<1.14,>=1.11
- Using cached wrapt-1.13.3-cp39-cp39-win_amd64.whl (34 kB)
- Collecting six>=1.5
- Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
- Collecting idna>=2.0
- Using cached idna-3.3-py3-none-any.whl (61 kB)
- Installing collected packages: pyparsing, multidict, idna, yarl, typing-extensions, toml, py, pluggy, packaging, iniconfig, colorama, chardet, attrs, atomicwrites, async-timeout, wrapt, tomli, six, pytest, lazy-object-proxy, coverage, aiohttp, python-dateutil, pytest-asyncio, pyflakes, pycodestyle, platformdirs, pillow, pathspec, numpy, mypy-extensions, mccabe, kiwisolver, isort, fonttools, dnspython, discord.py, cycler, click, asyncio-dgram, astroid, pytest-cov, pylint, mcstatus, matplotlib, flake8, dpytest, black, asyncpg
- Successfully installed aiohttp-3.7.4.post0 astroid-2.9.3 async-timeout-3.0.1 asyncio-dgram-1.2.0 asyncpg-0.25.0 atomicwrites-1.4.0 attrs-21.4.0 black-21.12b0 chardet-4.0.0 click-7.1.2 colorama-0.4.4 coverage-6.2 cycler-0.11.0 discord.py-1.7.3 dnspython-2.1.0 dpytest-0.5.3 flake8-4.0.1 fonttools-4.28.5 idna-3.3 iniconfig-1.1.1 isort-5.10.1 kiwisolver-1.3.2 lazy-object-proxy-1.7.1 matplotlib-3.5.1 mccabe-0.6.1 mcstatus-8.0.0 multidict-5.2.0 mypy-extensions-0.4.3 numpy-1.22.1 packaging-21.3 pathspec-0.9.0 pillow-9.0.0 platformdirs-2.4.1 pluggy-1.0.0 py-1.11.0 pycodestyle-2.8.0 pyflakes-2.4.0 pylint-2.12.2 pyparsing-3.0.7 pytest-6.2.5 pytest-asyncio-0.17.2 pytest-cov-3.0.0 python-dateutil-2.8.2 six-1.16.0 toml-0.10.2 tomli-1.2.3 typing-extensions-4.0.1 wrapt-1.13.3 yarl-1.7.2
- (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>removing pytest.ini and tests/pytest.ini
- "removing" не является внутренней или внешней
- командой, исполняемой программой или пакетным файлом.
- (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>setting Postgres credentials to env variable
- "setting" не является внутренней или внешней
- командой, исполняемой программой или пакетным файлом.
- (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>echo %PINGERBOT_POSTGRES%
- postgresql://pingerbot:password@localhost:5432/pingerbotdb
- (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>delete @mark.asyncio everywhere
- "delete" не является внутренней или внешней
- командой, исполняемой программой или пакетным файлом.
- (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>git status
- On branch rewrite
- Your branch is up to date with 'origin/rewrite'.
- Changes not staged for commit:
- (use "git add/rm <file>..." to update what will be committed)
- (use "git restore <file>..." to discard changes in working directory)
- deleted: pytest.ini
- deleted: tests/pytest.ini
- modified: tests/test_cmd_alias.py
- modified: tests/test_database.py
- modified: tests/test_metods_for_commands.py
- no changes added to commit (use "git add" and/or "git commit -a")
- (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>pytest --no-cov --asyncio-mode=auto
- ================================================= test session starts =================================================
- platform win32 -- Python 3.9.7, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
- rootdir: C:\Users\perch\Desktop\programming\test\PingerBot
- plugins: asyncio-0.17.2, cov-3.0.0
- asyncio: mode=auto
- collected 83 items
- tests\test_cmd_add.py ....... [ 8%]
- tests\test_cmd_alias.py s....... [ 18%]
- tests\test_cmd_motd.py ...... [ 25%]
- tests\test_cmd_other.py ........ [ 34%]
- tests\test_cmd_ping.py ......... [ 45%]
- tests\test_cmd_stat.py .............. [ 62%]
- tests\test_database.py sssssssssssssssss [ 83%]
- tests\test_metods_for_commands.py sss.ss........ [100%]
- ================================================== warnings summary ===================================================
- tests/test_cmd_alias.py: 1 warning
- tests/test_database.py: 17 warnings
- tests/test_metods_for_commands.py: 5 warnings
- C:\Users\perch\Envs\pytest-asyncio-265\lib\site-packages\_pytest\python.py:172: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped.
- You need to install a suitable plugin for your async framework, for example:
- - anyio
- - pytest-asyncio
- - pytest-tornasync
- - pytest-trio
- - pytest-twisted
- warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid)))
- -- Docs: https://docs.pytest.org/en/stable/warnings.html
- ==================================== 60 passed, 23 skipped, 23 warnings in 18.39s =====================================
- Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
- Traceback (most recent call last):
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
- self.close()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
- self._loop.call_soon(self._call_connection_lost, None)
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
- self._check_closed()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
- Traceback (most recent call last):
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
- self.close()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
- self._loop.call_soon(self._call_connection_lost, None)
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
- self._check_closed()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
- Traceback (most recent call last):
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
- self.close()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
- self._loop.call_soon(self._call_connection_lost, None)
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
- self._check_closed()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
- Traceback (most recent call last):
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
- self.close()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
- self._loop.call_soon(self._call_connection_lost, None)
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
- self._check_closed()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
- Traceback (most recent call last):
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
- self.close()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
- self._loop.call_soon(self._call_connection_lost, None)
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
- self._check_closed()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
- Traceback (most recent call last):
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
- self.close()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
- self._loop.call_soon(self._call_connection_lost, None)
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
- self._check_closed()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
- Traceback (most recent call last):
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
- self.close()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
- self._loop.call_soon(self._call_connection_lost, None)
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
- self._check_closed()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
- Traceback (most recent call last):
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
- self.close()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
- self._loop.call_soon(self._call_connection_lost, None)
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
- self._check_closed()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
- Traceback (most recent call last):
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
- self.close()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
- self._loop.call_soon(self._call_connection_lost, None)
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
- self._check_closed()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
- Traceback (most recent call last):
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
- self.close()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
- self._loop.call_soon(self._call_connection_lost, None)
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
- self._check_closed()
- File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>
Advertisement
Add Comment
Please, Sign In to add comment