From 9eb755a9411d9157cd1e803a1cd7d6d19bf27f00 Mon Sep 17 00:00:00 2001
From: tools4origins <tools4origins@gmail.com>
Date: Sun, 26 Sep 2021 12:38:18 +0200
Subject: [PATCH] fix(dataFrameShow): Remove extra new lines

---
 pysparkling/sql/internals.py | 2 +-
 setup.cfg                    | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/pysparkling/sql/internals.py b/pysparkling/sql/internals.py
index 8aff7a30d..fccd187bf 100644
--- a/pysparkling/sql/internals.py
+++ b/pysparkling/sql/internals.py
@@ -638,7 +638,7 @@ def horizontal_show(rows, cols, truncate, min_col_width):
         output += sep
         output += _generate_show_layout('|', padded_header)
         output += sep
-        output += '\n'.join(_generate_show_layout('|', row) for row in padded_rows)
+        output += ''.join(_generate_show_layout('|', row) for row in padded_rows)
         output += sep
         return output
 
diff --git a/setup.cfg b/setup.cfg
index fbb7bd5a2..ba9e7fdbb 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -6,7 +6,6 @@ max-line-length = 119
 [tool:pytest]
 addopts = --doctest-modules --cov=pysparkling --cov-report=html --cov-branch
 testpaths = pysparkling
-doctest_optionflags = ALLOW_UNICODE NORMALIZE_WHITESPACE
 
 [pycodestyle]
 max-line-length=119
@@ -47,4 +46,4 @@ order_by_type = False
 case_sensitive = False
 multi_line_output = 5
 force_sort_within_sections = True
-skip = versioneer.py
\ No newline at end of file
+skip = versioneer.py