☰
Debian Codegraph
@
2.0.1+git.2023.02.06.3aef950b7c-5
/
/
tests
/
issues
/
test_issue_104.py
☽
☼
tests/issues/test_issue_104.py
code
plain
raw
symbols
SCIP
GPL-3
(c) 2010-2013, Gabriel Falcao; (c) 2010-2013, Steve Pulec <
[email protected]
>; (c) 2010-2013, Lincoln de Sousa <
[email protected]
>; (c) 2010-2013, Marc Abramowitz <
[email protected]
>; (c) 2010-2013, Sargento <
[email protected]
>; (c) 2010-2013, Fábio M. Costa <
[email protected]
>; (c) 2010-2013, David Czarnecki <
[email protected]
>; (c) 2010-2013, Alessandro Mecca <
[email protected]
>
debian/copyright
1
from
sure
import
expect
2
3
4
def
test_issue_104
():
5
try
:
6
expect
(
"hello"
).
to
.
contain
(
"world"
)
7
except
Exception
:
# just to prevent syntax error because try/else does not exist
8
pass
9
else
:
10
raise
SystemExit
(
"Oops"
)
11
12
expect
(
"hello world"
).
to
.
contain
(
"world"
)