Skip to content

Commit

Permalink
Fix pylint error in test code.
Browse files Browse the repository at this point in the history
  • Loading branch information
lordjabez authored Mar 13, 2023
1 parent d73fc61 commit 70bd24c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_file_memoizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ def multiply(self, value_1, value_2): # pylint: disable=missing-function-docstr
def multiply(value_1, value_2):
return value_1 * value_2

multiply.precache_result(2, 3, result_to_cache=7)
multiply.precache_result(2, 3, result_to_cache=7) # pylint: disable=no-member
result = multiply(2, 3)
assert result == 7

TestClass().multiply.precache_result(2, 3, result_to_cache=8)
TestClass().multiply.precache_result(2, 3, result_to_cache=8) # pylint: disable=no-member
result = TestClass().multiply(2, 3)
assert result == 8
TestClass().multiply.clear_cache() # pylint: disable=no-member
Expand Down

0 comments on commit 70bd24c

Please # to comment.