1from secret import clue
2
3
4def lucky():
5
6 left_result = clue(left_shift = 7)
7 right_result = clue(right_shift=7)
8 and_result = clue(bw_and = 8)
9 or_result = clue(or_and = 8)
10 address = 0
11 address |= right_result
12 address |= left_result
13 address |= and_result
14 address &= or_result
15
16 return address
E
======================================================================
ERROR: test_lucky (test.TestLucky.test_lucky)
Test with various cases.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/test.py", line 29, in test_lucky
self.separate_test(0)
File "/tmp/test.py", line 24, in separate_test
self.assertEqual(solution.lucky(), value)
^^^^^^^^^^^^^^^^
File "/tmp/solution.py", line 9, in lucky
or_result = clue(or_and = 8)
^^^^^^^^^^^^^^^^
File "/tmp/secret.py", line 52, in __call__
self._validate_arg_name(name)
File "/tmp/secret.py", line 21, in _validate_arg_name
raise TypeError('This argument is unexpected.')
TypeError: This argument is unexpected.
----------------------------------------------------------------------
Ran 1 test in 0.002s
FAILED (errors=1)