From 76be7eaec6a1488dfbba0eec1c8fc9e1ab24adef Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sat, 29 Jun 2024 09:27:31 -0400 Subject: [PATCH] Fix unreachable-code (cherry picked from commit 314e08b79b7c09e458b2f094c1597f0139eff9a4) --- tests/test_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_builder.py b/tests/test_builder.py index 84ac65e099..23a5a83836 100644 --- a/tests/test_builder.py +++ b/tests/test_builder.py @@ -777,7 +777,7 @@ def test_module_base_props(self) -> None: with self.assertRaises(StatementMissing): with pytest.warns(DeprecationWarning) as records: self.assertEqual(module.statement(future=True), module) - assert len(records) == 1 + assert len(records) == 1 with self.assertRaises(StatementMissing): module.statement()