mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
Python: Fix example TestCase
This commit is contained in:
@@ -61,8 +61,8 @@ def ok_assert_false(x):
|
|||||||
if x:
|
if x:
|
||||||
assert 0==1, "Ok"
|
assert 0==1, "Ok"
|
||||||
|
|
||||||
class TestCase:
|
from unittest import TestCase
|
||||||
pass
|
|
||||||
|
|
||||||
class MyTest(TestCase):
|
class MyTest(TestCase):
|
||||||
def test_ok_assert_in_test(self, x):
|
def test_ok_assert_in_test(self, x):
|
||||||
|
|||||||
Reference in New Issue
Block a user