human
Solve the following python programming problem given the following code:
@ pytest.fixture 
def lazy_simple_capture(request, caps_directory) : 
    '
    Does not fill the cap with packets.
    ' 
    cap_path = os.path.join (caps_directory, 'capture_test.pcapng') 
    cap = pyshark.FileCapture (caps_directory) 
    cap.log.level = logbook.DEBUG 
    def finalizer() : 
        cap.close () 
        cap.eventloop.stop () 
request.addfinalizer (finalizer) 
    return cap 

    
    

    Fix the buggy line: cap = pyshark.FileCapture (caps_directory)
assistant
#Here is Python program to fix the buggy line: cap = pyshark.

cap = pyshark.FileCapture (cap_path)