1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Author: Alexandre Detiste <tchet@debian.org>
Subject: drop usage of old standalone "mock" library
Forwarded: https://github.com/fedora-static-analysis/firehose/pull/46
--- a/tests/parsers/test_frama_c_parser.py
+++ b/tests/parsers/test_frama_c_parser.py
@@ -1,6 +1,6 @@
import unittest
-import mock
+from unittest import mock
from firehose.parsers import frama_c
from firehose.model import Issue, Location, File, Point, \
--- a/tests/parsers/test_gcc_parser.py
+++ b/tests/parsers/test_gcc_parser.py
@@ -17,7 +17,7 @@
import unittest
-import mock
+from unittest import mock
from firehose.parsers import gcc # import parse_warning, parse_file
from firehose.model import Analysis, Issue, Location, File, Point, \
|