Files
codeql/python/ql/src/Testing/ImpreciseAssert2.py
2018-11-19 15:10:42 +00:00

10 lines
200 B
Python

from unittest import TestCase
class MyTest(TestCase):
def testInts(self):
self.assertEqual(1, 1)
self.assertLessEqual(1, 2)
self.assertIn(1, []) #This will fail