You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
11 lines
413 B
Diff
11 lines
413 B
Diff
--- test/mitmproxy/test_version.py.old 2020-08-02 12:01:29.000000000 +0200
|
|
+++ test/mitmproxy/test_version.py 2020-08-02 12:00:02.000000000 +0200
|
|
@@ -20,6 +20,7 @@
|
|
version.VERSION = "3.0.0rc2"
|
|
|
|
with mock.patch('subprocess.check_output') as m:
|
|
+ with mock.patch('subprocess.run') as do_not_fail:
|
|
m.return_value = b"tag-0-cafecafe"
|
|
assert version.get_dev_version() == "3.0.0rc2"
|
|
|