Skip to content

Commit 41a5b47

Browse files
authored
Fix organic_results type assert
1 parent db8a731 commit 41a5b47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ This solution offers a more dynamic, fully Oriented Object Programming approach
508508
from serpapi import GoogleSearch
509509
search = GoogleSearch({"q": "Coffee", "location": "Austin,Texas"})
510510
r = search.get_object()
511-
assert type(r.organic_results), list
511+
assert type(r.organic_results) == list
512512
assert r.organic_results[0].title
513513
assert r.search_metadata.id
514514
assert r.search_metadata.google_url

0 commit comments

Comments
 (0)