Show More
@@ -54,7 +54,6 b' import functools' | |||||
54 | import json |
|
54 | import json | |
55 | import multiprocessing |
|
55 | import multiprocessing | |
56 | import os |
|
56 | import os | |
57 | import packaging.version as version |
|
|||
58 | import platform |
|
57 | import platform | |
59 | import queue |
|
58 | import queue | |
60 | import random |
|
59 | import random | |
@@ -794,9 +793,7 b' def parseargs(args, parser):' | |||||
794 | try: |
|
793 | try: | |
795 | import coverage |
|
794 | import coverage | |
796 |
|
795 | |||
797 | covver = version.Version(coverage.__version__) |
|
796 | coverage.__version__ # silence unused import warning | |
798 | if covver < version.Version("3.3"): |
|
|||
799 | parser.error('coverage options require coverage 3.3 or later') |
|
|||
800 | except ImportError: |
|
797 | except ImportError: | |
801 | parser.error('coverage options now require the coverage package') |
|
798 | parser.error('coverage options now require the coverage package') | |
802 |
|
799 |
General Comments 0
You need to be logged in to leave comments.
Login now