Skip to content

Commit 19a72b6

Browse files
committed
Added to changelog. Maybe fixed mock import on 2.7
1 parent 0ee2251 commit 19a72b6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## 0.8.6 (TBD)
22
* Bug Fixes
3-
* TBD
3+
* Commands using the @with_argparser_and_unknown_args were not correctly recognized when tab completing help
44

55
## 0.8.5 (April 15, 2018)
66
* Bug Fixes

tests/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
import sys
99

1010
from pytest import fixture
11-
from unittest import mock
11+
try:
12+
from unittest import mock
13+
except ImportError:
14+
import mock
1215

1316
import cmd2
1417

0 commit comments

Comments
 (0)