提交 ee661b79 编写于 作者: L Lukáš Doktor

spell: Fix spelling issues

Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 fb10e049
......@@ -212,7 +212,7 @@ class _TmpDirTracker(Borg):
def unittest_refresh_dir_tracker(self):
"""
This force-removes the tmpdir and refreshes the tracker to create new
This force-removes the tmp_dir and refreshes the tracker to create new
"""
if not hasattr(self, "tmp_dir"):
return
......
......@@ -181,7 +181,7 @@ class TestWarn(TestBaseException):
class TestCancel(TestBaseException):
"""
Indicates that a test was cancelled.
Indicates that a test was canceled.
Should be thrown when the cancel() test method is used.
"""
......
......@@ -105,7 +105,7 @@ class TreeNode(object):
children = []
self.name = name
self.value = value
self.filters = [], [] # This node filters, full filters in environ..
self.filters = [], [] # This node's filters, full filters are in env
self.parent = parent
self.children = []
self._environment = None
......
......@@ -112,7 +112,7 @@ def probe_binary(binary):
TRUE_CMD = probe_binary('true')
CC_BINARY = probe_binary('cc')
# On macOS, the default GNU coreutils installation (brew)
# On macOS, the default GNU core-utils installation (brew)
# installs the gnu utility versions with a g prefix. It still has the
# BSD versions of the core utilities installed on their expected paths
# but their behavior and flags are in most cases different.
......
......@@ -458,7 +458,7 @@ class TestInternalFilters(unittest.TestCase):
# Filter should be normalized automatically (tailing '/')
self.assertTrue(self.check_scenario(("foo", ["/foo/"], []),))
self.assertFalse(self.check_scenario(("foo", [], ["/foo/"]),))
# Filter-out nonexistings
# Filter-out non-existing
self.assertTrue(self.check_scenario(("foo", [], ["/nonexist"]),))
self.assertTrue(self.check_scenario(("foo", [], []),
("bar", [], ["/nonexists"])))
......
......@@ -428,3 +428,6 @@ teststmpdir
deepcopy
arg
thp
fc
ps
bsd
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册