Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
System Design
Get Certified
Blog
🇬🇧
en
Sign In
Start Quiz
🇬🇧
en
Sign In
Start Quiz
Loading...
Quiz Topics
1
2
3
4
5
6
7
8
9
10
01
/ 10
How is testing methods implemented with @staticmethod different from instance methods in Python?
Auto Skip
Report Issue
A.
@staticmethod always requires mock for testing
B.
@staticmethod and instance method are the same in terms of testability
C.
@staticmethod called directly without instance/mock; easier unit test; instance method requires mock/instance
D.
@staticmethod cannot be tested
Previous
Next