You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/11/02 15:16:44 UTC

(commons-compress) 03/04: Test should not write to the console

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git

commit 189589febb8b64f939f6685b779baf5ce3eab6bc
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 2 11:14:34 2023 -0400

    Test should not write to the console
---
 .../commons/compress/compressors/bzip2/PythonTruncatedBzip2Test.java     | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/compress/compressors/bzip2/PythonTruncatedBzip2Test.java b/src/test/java/org/apache/commons/compress/compressors/bzip2/PythonTruncatedBzip2Test.java
index 376d5b96..61fcf411 100644
--- a/src/test/java/org/apache/commons/compress/compressors/bzip2/PythonTruncatedBzip2Test.java
+++ b/src/test/java/org/apache/commons/compress/compressors/bzip2/PythonTruncatedBzip2Test.java
@@ -110,7 +110,6 @@ public class PythonTruncatedBzip2Test {
     public void testTruncatedData() {
         // with BZ2File(self.filename) as f:
         // self.assertRaises(EOFError, f.read)
-        System.out.println("Attempt to read the whole thing in, should throw ...");
         final ByteBuffer buffer = ByteBuffer.allocate(8192);
         assertThrows(IOException.class, () -> bz2Channel.read(buffer));
     }