mirror of
https://github.com/Tencent/Metis.git
synced 2025-12-26 04:02:48 +00:00
feat(file) delete file
This commit is contained in:
parent
840379f9f3
commit
b8b3c95698
|
|
@ -1,9 +0,0 @@
|
|||
class TestClass:
|
||||
|
||||
def test_one(self):
|
||||
x = "this"
|
||||
assert 'h' in x
|
||||
|
||||
def test_two(self):
|
||||
x = "hello"
|
||||
assert 'hello' in x
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
# content of test_sample.py
|
||||
def func(x):
|
||||
return x + 1
|
||||
|
||||
|
||||
def test_answer():
|
||||
assert func(4) == 5
|
||||
|
||||
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
import pytest
|
||||
|
||||
|
||||
def f():
|
||||
raise SystemExit(1)
|
||||
|
||||
|
||||
def test_mytest():
|
||||
with pytest.raises(SystemExit):
|
||||
f()
|
||||
Loading…
Reference in New Issue