diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2022-10-30 08:22:33 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:52 +0100 |
commit | 16268e35abfb4d8e4698229cfe274dd649281726 (patch) | |
tree | 8fc95c8fb9a2d4003f6d74a2b5a73f6fb94ad6b5 /tests | |
parent | d79d89649435e8db19319228c9d757a55ac305be (diff) | |
download | wee-slack-16268e35abfb4d8e4698229cfe274dd649281726.tar.gz |
Move import
Not necessary anymore, when __init__.py doesn't import weechat.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/conftest.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 14dc4a5..be112d8 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2,6 +2,8 @@ import importlib import importlib.machinery import sys +from slack.shared import shared + # Copied from https://stackoverflow.com/a/72721573 def import_stub(stubs_path: str, module_name: str): @@ -22,8 +24,5 @@ def import_stub(stubs_path: str, module_name: str): import_stub("typings", "weechat") - -from slack.shared import shared - shared.weechat_version = 0x3080000 shared.weechat_callbacks = {} |