146
147 def test_is_full_short_circuits_on_inf(self):
148 with patch.object(self.metric_cache, 'size') as size_mock:
149 self.metric_cache.is_full150 size_mock.assert_not_called()
151
152 def test_is_full(self):
The expression or statement is pointless and will not affect the program's execution. It should be removed.
It is recommended to remove the statement as it adds unnecessary complexity to the codebase.
x = input()
x == 3 # Line doesn't do anything, it can be safely removed
calculate_res(x)
x = input()
calculate_res(x)