mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-23 16:11:08 -04:00
Add missing type hints to tests. (#15027)
This commit is contained in:
parent
55e4d27b36
commit
4eed7b2ede
8 changed files with 70 additions and 76 deletions
|
@ -6,6 +6,6 @@ from tests import unittest
|
|||
class RustTestCase(unittest.TestCase):
|
||||
"""Basic tests to ensure that we can call into Rust code."""
|
||||
|
||||
def test_basic(self):
|
||||
def test_basic(self) -> None:
|
||||
result = sum_as_string(1, 2)
|
||||
self.assertEqual("3", result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue