Fixed a nasty bug in the unit test dialog when combining unit test with coverage testing.

Thu, 14 Dec 2017 19:25:34 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 14 Dec 2017 19:25:34 +0100
changeset 6027
d056a536670e
parent 6026
4773c9469880
child 6028
859f6894eed9

Fixed a nasty bug in the unit test dialog when combining unit test with coverage testing.

PyUnit/UnittestDialog.py file | annotate | diff | comparison | revisions
--- a/PyUnit/UnittestDialog.py	Mon Dec 11 19:27:20 2017 +0100
+++ b/PyUnit/UnittestDialog.py	Thu Dec 14 19:25:34 2017 +0100
@@ -363,7 +363,7 @@
                 else:
                     mainScript = os.path.abspath(prog)
                 
-                from DebugClients.Python3.coverage import coverage
+                from DebugClients.Python.coverage import coverage
                 cover = coverage(
                     data_file="{0}.coverage".format(
                         os.path.splitext(mainScript)[0]))

eric ide

mercurial