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 08156f8

Browse files
Update tests.py
1 parent 5b3db32 commit 08156f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎exercises/10-Array-Methods/tests.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def test_declare_variable():
55
path = os.path.dirname(os.path.abspath(__file__))+'/app.py'
66
with open(path, 'r') as content_file:
77
content = content_file.read()
8-
regex = re.compile(r"def sort_names\s*\(.*\)\:")
8+
regex = re.compile(r"def\s*sort_names\s*\(")
99
assert bool(regex.search(content)) == True
1010

1111

0 commit comments

Comments
(0)

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