Created
October 17, 2018 21:47
-
-
Save carlwgeorge/26a07a6c6b99cb6bfb3530668eafe5b9 to your computer and use it in GitHub Desktop.
multio tests with pytest 3.7.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pytest -v multio | |
========================================== test session starts =========================================== | |
platform linux -- Python 3.7.0, pytest-3.7.0, py-1.7.0, pluggy-0.7.1 -- /root/multio/.env/bin/python3 | |
cachedir: .pytest_cache | |
rootdir: /root/multio, inifile: | |
collected 8 items | |
multio/tests/test_multio.py::test_initialize[trio] ERROR [ 12%] | |
multio/tests/test_multio.py::test_initialize[curio] ERROR [ 25%] | |
multio/tests/test_multio.py::test_initialize[lib2] ERROR [ 37%] | |
multio/tests/test_multio.py::test_initialize[lib3] ERROR [ 50%] | |
multio/tests/test_multio.py::test_lib_is_registered[curio] ERROR [ 62%] | |
multio/tests/test_multio.py::test_lib_is_registered[trio] ERROR [ 75%] | |
multio/tests/test_multio.py::test_fail_to_initialize_with_unregistered_libs[foo] ERROR [ 87%] | |
multio/tests/test_multio.py::test_fail_to_initialize_with_unregistered_libs[lib1] ERROR [100%] | |
================================================= ERRORS ================================================= | |
________________________________ ERROR at setup of test_initialize[trio] _________________________________ | |
name = 'pytest_plugins' | |
def __getattr__(name: str): | |
> return getattr(asynclib, name) | |
multio/__init__.py:526: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <multio._AsyncLib object at 0x7f6a81120348>, item = 'pytest_plugins' | |
def __getattribute__(self, item): | |
if super().__getattribute__("_init") is False: | |
# this lies sometimes but whatever | |
if threading.current_thread() == threading.main_thread(): | |
> raise RuntimeError("multio.init() wasn't called") | |
E RuntimeError: multio.init() wasn't called | |
multio/__init__.py:397: RuntimeError | |
________________________________ ERROR at setup of test_initialize[curio] ________________________________ | |
name = 'pytest_plugins' | |
def __getattr__(name: str): | |
> return getattr(asynclib, name) | |
multio/__init__.py:526: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <multio._AsyncLib object at 0x7f6a81120348>, item = 'pytest_plugins' | |
def __getattribute__(self, item): | |
if super().__getattribute__("_init") is False: | |
# this lies sometimes but whatever | |
if threading.current_thread() == threading.main_thread(): | |
> raise RuntimeError("multio.init() wasn't called") | |
E RuntimeError: multio.init() wasn't called | |
multio/__init__.py:397: RuntimeError | |
________________________________ ERROR at setup of test_initialize[lib2] _________________________________ | |
name = 'pytest_plugins' | |
def __getattr__(name: str): | |
> return getattr(asynclib, name) | |
multio/__init__.py:526: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <multio._AsyncLib object at 0x7f6a81120348>, item = 'pytest_plugins' | |
def __getattribute__(self, item): | |
if super().__getattribute__("_init") is False: | |
# this lies sometimes but whatever | |
if threading.current_thread() == threading.main_thread(): | |
> raise RuntimeError("multio.init() wasn't called") | |
E RuntimeError: multio.init() wasn't called | |
multio/__init__.py:397: RuntimeError | |
________________________________ ERROR at setup of test_initialize[lib3] _________________________________ | |
name = 'pytest_plugins' | |
def __getattr__(name: str): | |
> return getattr(asynclib, name) | |
multio/__init__.py:526: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <multio._AsyncLib object at 0x7f6a81120348>, item = 'pytest_plugins' | |
def __getattribute__(self, item): | |
if super().__getattribute__("_init") is False: | |
# this lies sometimes but whatever | |
if threading.current_thread() == threading.main_thread(): | |
> raise RuntimeError("multio.init() wasn't called") | |
E RuntimeError: multio.init() wasn't called | |
multio/__init__.py:397: RuntimeError | |
____________________________ ERROR at setup of test_lib_is_registered[curio] _____________________________ | |
name = 'pytest_plugins' | |
def __getattr__(name: str): | |
> return getattr(asynclib, name) | |
multio/__init__.py:526: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <multio._AsyncLib object at 0x7f6a81120348>, item = 'pytest_plugins' | |
def __getattribute__(self, item): | |
if super().__getattribute__("_init") is False: | |
# this lies sometimes but whatever | |
if threading.current_thread() == threading.main_thread(): | |
> raise RuntimeError("multio.init() wasn't called") | |
E RuntimeError: multio.init() wasn't called | |
multio/__init__.py:397: RuntimeError | |
_____________________________ ERROR at setup of test_lib_is_registered[trio] _____________________________ | |
name = 'pytest_plugins' | |
def __getattr__(name: str): | |
> return getattr(asynclib, name) | |
multio/__init__.py:526: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <multio._AsyncLib object at 0x7f6a81120348>, item = 'pytest_plugins' | |
def __getattribute__(self, item): | |
if super().__getattribute__("_init") is False: | |
# this lies sometimes but whatever | |
if threading.current_thread() == threading.main_thread(): | |
> raise RuntimeError("multio.init() wasn't called") | |
E RuntimeError: multio.init() wasn't called | |
multio/__init__.py:397: RuntimeError | |
_________________ ERROR at setup of test_fail_to_initialize_with_unregistered_libs[foo] __________________ | |
name = 'pytest_plugins' | |
def __getattr__(name: str): | |
> return getattr(asynclib, name) | |
multio/__init__.py:526: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <multio._AsyncLib object at 0x7f6a81120348>, item = 'pytest_plugins' | |
def __getattribute__(self, item): | |
if super().__getattribute__("_init") is False: | |
# this lies sometimes but whatever | |
if threading.current_thread() == threading.main_thread(): | |
> raise RuntimeError("multio.init() wasn't called") | |
E RuntimeError: multio.init() wasn't called | |
multio/__init__.py:397: RuntimeError | |
_________________ ERROR at setup of test_fail_to_initialize_with_unregistered_libs[lib1] _________________ | |
name = 'pytest_plugins' | |
def __getattr__(name: str): | |
> return getattr(asynclib, name) | |
multio/__init__.py:526: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <multio._AsyncLib object at 0x7f6a81120348>, item = 'pytest_plugins' | |
def __getattribute__(self, item): | |
if super().__getattribute__("_init") is False: | |
# this lies sometimes but whatever | |
if threading.current_thread() == threading.main_thread(): | |
> raise RuntimeError("multio.init() wasn't called") | |
E RuntimeError: multio.init() wasn't called | |
multio/__init__.py:397: RuntimeError | |
======================================== 8 error in 0.19 seconds ========================================= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment