Skip to content

Commit 420dea0

Browse files
committed
Python: Fix example TestCase
1 parent 08e64ea commit 420dea0

File tree

1 file changed

+2
-2
lines changed
  • python/ql/test/query-tests/Statements/asserts

1 file changed

+2
-2
lines changed

python/ql/test/query-tests/Statements/asserts/assert.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ def ok_assert_false(x):
6161
if x:
6262
assert 0==1, "Ok"
6363

64-
class TestCase:
65-
pass
64+
from unittest import TestCase
65+
6666

6767
class MyTest(TestCase):
6868
def test_ok_assert_in_test(self, x):

0 commit comments

Comments
 (0)