File: remove_old_mock.patch

package info (click to toggle)
graypy 2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308 kB
  • sloc: python: 1,175; sh: 114; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 245 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/tests/unit/test_handler.py
+++ b/tests/unit/test_handler.py
@@ -17,7 +17,7 @@
 import sys
 import zlib
 
-import mock
+from unittest import mock
 import pytest
 
 from graypy.handler import BaseGELFHandler, GELFHTTPHandler, GELFTLSHandler