From 105fea3ef3be4b47cc3602423919329162dfcecf Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Sat, 31 May 2008 16:56:20 -0700 Subject: stupid me i shouldn't use assert() in tests assert_true instead because optimized python won't see asserts. Signed-off-by: David Aguilar --- test/git/test_git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/git/test_git.py') diff --git a/test/git/test_git.py b/test/git/test_git.py index 8b302b7f..61b90a5f 100644 --- a/test/git/test_git.py +++ b/test/git/test_git.py @@ -54,4 +54,4 @@ class TestGit(object): def test_it_handles_large_input(self): output = self.git.execute(["cat", "/bin/bash"]) - assert(len(output) > 4096) # at least 4k + assert_true(len(output) > 4096) # at least 4k -- cgit v1.2.1