Home
/
Python 3.11
/
Unittest
/
assertIn
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Unittest
assertIn
Python 3.11
Test that member is (or is not) in container.
Syntax
PYTHON
Copy
assertIn(member, container, msg=None)