Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 319dcb9

Browse files
authored
Fix incorrect return value in tests. (#11359)
1 parent 0caf208 commit 319dcb9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/11359.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Require all files in synapse/ and tests/ to pass mypy unless specifically excluded.

tests/storage/test_rollback_worker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def fake_listdir(filepath: str) -> List[str]:
3333
A list of files and folders in the directory.
3434
"""
3535
if filepath.endswith("full_schemas"):
36-
return [SCHEMA_VERSION]
36+
return [str(SCHEMA_VERSION)]
3737

3838
return ["99_add_unicorn_to_database.sql"]
3939

0 commit comments

Comments
 (0)