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

Appearance settings

Commit 105fea3

Browse filesBrowse files
committed
stupid me i shouldn't use assert() in tests
assert_true instead because optimized python won't see asserts. Signed-off-by: David Aguilar <davvid@gmail.com>
1 parent b5278c5 commit 105fea3
Copy full SHA for 105fea3

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/git/test_git.py‎

Copy file name to clipboardExpand all lines: test/git/test_git.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ def test_it_does_not_strip_output_when_using_with_raw_output(self):
5454

5555
def test_it_handles_large_input(self):
5656
output = self.git.execute(["cat", "/bin/bash"])
57-
assert(len(output) > 4096) # at least 4k
57+
assert_true(len(output) > 4096) # at least 4k

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.