Skip to content

Commit c5f703a

Browse files
committed
Oops, left in some typings
1 parent 8b3b93c commit c5f703a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/test_basepersistence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def get_chat_data():
112112
u.dispatcher.chat_data[442233]['test5'] = 'test6'
113113
assert u.dispatcher.chat_data[442233]['test5'] == 'test6'
114114

115-
def test_dispatcher_integration_handlers(self, caplog, bot, base_persistence: BasePersistence,
115+
def test_dispatcher_integration_handlers(self, caplog, bot, base_persistence,
116116
chat_data, user_data):
117117
def get_user_data():
118118
return user_data

tests/test_pickle_persistence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def test_with_good_single_file(self, pickle_persistence, good_pickle_files):
160160
with pytest.raises(KeyError):
161161
conversation2[(123, 123)]
162162

163-
def test_updating_multi_file(self, pickle_persistence: PicklePersistence, good_pickle_files):
163+
def test_updating_multi_file(self, pickle_persistence, good_pickle_files):
164164
user_data = pickle_persistence.get_user_data()
165165
user_data[54321]['test9'] = 'test 10'
166166
assert not pickle_persistence.user_data == user_data
@@ -188,7 +188,7 @@ def test_updating_multi_file(self, pickle_persistence: PicklePersistence, good_p
188188
conversations_test = defaultdict(dict, pickle.load(f))
189189
assert conversations_test['name1'] == conversation1
190190

191-
def test_updating_single_file(self, pickle_persistence: PicklePersistence, good_pickle_files):
191+
def test_updating_single_file(self, pickle_persistence, good_pickle_files):
192192
pickle_persistence.single_file = True
193193

194194
user_data = pickle_persistence.get_user_data()

0 commit comments

Comments
 (0)