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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
diff -aur yarg-0.1.9.old/requirements-test.txt yarg-0.1.9/requirements-test.txt
--- yarg-0.1.9.old/requirements-test.txt 2023-05-01 21:05:56.850103096 +0200
+++ yarg-0.1.9/requirements-test.txt 2023-05-01 21:06:37.230760899 +0200
@@ -1,3 +1,2 @@
nose
coveralls
-mock
diff -aur yarg-0.1.9.old/tests/test_client.py yarg-0.1.9/tests/test_client.py
--- yarg-0.1.9.old/tests/test_client.py 2023-05-01 21:05:56.850103096 +0200
+++ yarg-0.1.9/tests/test_client.py 2023-05-01 21:06:09.133639028 +0200
@@ -1,7 +1,7 @@
import os
import unittest
-from mock import call, MagicMock, patch
+from unittest.mock import call, MagicMock, patch
from yarg import get, HTTPError
diff -aur yarg-0.1.9.old/tests/test_parse.py yarg-0.1.9/tests/test_parse.py
--- yarg-0.1.9.old/tests/test_parse.py 2023-05-01 21:05:56.850103096 +0200
+++ yarg-0.1.9/tests/test_parse.py 2023-05-01 21:06:09.133639028 +0200
@@ -2,7 +2,7 @@
import os
import unittest
-from mock import call, MagicMock, patch
+from unittest.mock import call, MagicMock, patch
from yarg import newest_packages, latest_updated_packages, HTTPError
from yarg.parse import _get, Package
diff -aur yarg-0.1.9.old/tox.ini yarg-0.1.9/tox.ini
--- yarg-0.1.9.old/tox.ini 2023-05-01 21:05:56.850103096 +0200
+++ yarg-0.1.9/tox.ini 2023-05-01 21:06:09.133639028 +0200
@@ -1,10 +1,9 @@
[tox]
-envlist = py26, py27, py33, py34, pypy, pypy3, docs, flake8
+envlist = py26, py27, py33, py34, py38, pypy, pypy3, docs, flake8
[testenv]
deps = nose
requests
- mock
commands = nosetests
[testenv:flake8]
|