Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e93d16f

Browse files
Merge pull request #35 from Sadiel0/hello-word
fixed test so it would read print on any line
2 parents 1eba37a + 55e51a2 commit e93d16f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎exercises/02-Hello-World/test.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
def test_output():
55
f = open(os.path.dirname(os.path.abspath(__file__)) + '/app.py')
66
content = f.read()
7-
assert content.find("print(") > 0
7+
assert content.find("print") >= 0
88

99
@pytest.mark.it('The printed value on the console should be "Hello World"')
1010
def test_for_file_output(capsys, app):

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /