UnittestDialog: fixed an issue setting the client type.

Thu, 21 Mar 2019 19:26:10 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 21 Mar 2019 19:26:10 +0100
changeset 6890
26c1042f2eec
parent 6889
334257ef9435
child 6891
93f82da09f22

UnittestDialog: fixed an issue setting the client type.

PyUnit/UnittestDialog.py file | annotate | diff | comparison | revisions
diff -r 334257ef9435 -r 26c1042f2eec PyUnit/UnittestDialog.py
--- a/PyUnit/UnittestDialog.py	Wed Mar 20 20:03:22 2019 +0100
+++ b/PyUnit/UnittestDialog.py	Thu Mar 21 19:26:10 2019 +0100
@@ -322,7 +322,8 @@
                         flags["FileType"] in ["Python", "Python2"]):
                     clientType = "Python2"
                 else:
-                    clientType = ""
+                    # if it is not Python2 it must be Python3!
+                    clientType = "Python3"
             if failedOnly and self.__failedTests:
                 failed = [t.split(".", 1)[1] for t in self.__failedTests]
             else:

eric ide

mercurial