diff --git a/src/caosadvancedtools/table_importer.py b/src/caosadvancedtools/table_importer.py
index 72a51c0f2d461c05079168195e389e75139c6d2d..cd1b206f7ebbe7730692a3a6a7137e4aa467a5eb 100755
--- a/src/caosadvancedtools/table_importer.py
+++ b/src/caosadvancedtools/table_importer.py
@@ -574,7 +574,7 @@ class CSVImporter(TableImporter):
             for ii, error_list in error_dict.items():
                 msg += f"* row {ii}:\n"
                 for err in error_list:
-                    msg += f"\t* column \"{err[0]}\": Expected \"{err[1]}\" but found \"{err[2]}\".\n"
+                    msg += f"  * column \"{err[0]}\": Expected \"{err[1]}\" but found \"{err[2]}\".\n"
                 msg += '\n'
             raise DataInconsistencyError(msg)
 
diff --git a/unittests/test_table_importer.py b/unittests/test_table_importer.py
index 768e3f0caea9fc826d46f095c5213c3f6e4ca5a0..0abc28bba17dfbcf8f0ce59a15e51ace68db9167 100644
--- a/unittests/test_table_importer.py
+++ b/unittests/test_table_importer.py
@@ -408,6 +408,7 @@ class CSVImporterTest(TableImporterTest):
         with pytest.raises(DataInconsistencyError) as die:
             df = importer.read_file(tmpfile.name)
         msg = str(die.value)
+        print("\n" + msg)
         assert "Elements with wrong datatypes encountered:\n" in msg
         # Errors in rows 1 and 3, no errors in 2 and 4
         assert "* row 1:\n" in msg
@@ -418,9 +419,9 @@ class CSVImporterTest(TableImporterTest):
         # exactly 2 errors in row 1, exactly 1 in row 3
         assert len(row_1_msgs.strip().split('\n')) == 2
         assert len(row_3_msgs.strip().split('\n')) == 1
-        assert "\t* column \"int\"" in row_1_msgs
-        assert "\t* column \"float\"" in row_1_msgs
-        assert "\t* column \"float\"" in row_3_msgs
+        assert "  * column \"int\"" in row_1_msgs
+        assert "  * column \"float\"" in row_1_msgs
+        assert "  * column \"float\"" in row_3_msgs
 
 
 class TSVImporterTest(TableImporterTest):