From 4e3b61ace84fcbb2b9d806b03086a963ea935b2e Mon Sep 17 00:00:00 2001
From: Tue Herlau <tuhe@dtu.dk>
Date: Tue, 1 Aug 2023 19:43:47 +0200
Subject: [PATCH] removed exit code

---
 setup.py                                 | 8 +++-----
 src/coursebox_testing/testing/testing.py | 2 +-
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/setup.py b/setup.py
index 31356af..8b7f890 100644
--- a/setup.py
+++ b/setup.py
@@ -1,18 +1,16 @@
 # Use this guide:
 # https://packaging.python.org/tutorials/packaging-projects/
-# Use pipreqs.exe to get requirements list.
+
 """
 Windows> py -m build && twine upload dist/*
 Linux> python -m build && python -m twine upload dist/*
-
 """
-
 import setuptools
-import pkg_resources
 
 with open("README.md", "r", encoding="utf-8") as fh:
     long_description = fh.read()
-# beamer-slider
+
+
 setuptools.setup(
     name="coursebox_testing",
     version="0.0.3",
diff --git a/src/coursebox_testing/testing/testing.py b/src/coursebox_testing/testing/testing.py
index 2fdc9f8..681e748 100644
--- a/src/coursebox_testing/testing/testing.py
+++ b/src/coursebox_testing/testing/testing.py
@@ -24,7 +24,7 @@ def check_by_grade_script(student_dir, module):
     # output = subprocess.check_output(f"cd {student_dir} && {sys.executable} -m {module}", shell=True, check=False)
     print("Running command", cmd)
     p = run(cmd, capture_output=True, check=False, shell=True)
-    print('exit status:', p.returncode)
+    # print('exit status:', p.returncode)
     out = p.stdout.decode()
     stderr = p.stderr.decode()
     # process = run(cmd, print_output=False, check=False)
-- 
GitLab