Exercise 17 - Advanced

I get the following out when I run my code:

(2, 3)

And I believe that the answer is correct.

But when I test the code, I get the below response:


The answer is not correct - Test cases: 0 / 2

  File "/usr/local/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/local/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/local/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/app/test/test_main.py", line 38, in test_answer_two
    main(data2)
  File "/app/tmc/utils.py", line 10, in fail
    raise AssertionError(err)


Error: src.main.find_nearest_pair does not exist!