From c92d836f34c4e8cab66b23e759b9cbdbafbf9567 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Fri, 20 Apr 2018 04:17:19 +0200 Subject: [PATCH] tests: fix inconsistent tab indent in test_ceph_argparse.py This only matters when test_ceph_argparse.py runs against the Python 3 version of nose, which complains like so: 146/155 Test #147: test_ceph_argparse.py ...................***Failed 0.49 sec E ====================================================================== ERROR: Failure: TabError (inconsistent use of tabs and spaces in indentation (test_ceph_argparse.py, line 98)) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.6/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.6/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) /home/smithfarm/ceph/qa/standalone/ceph-helpers.sh:182: teardown: return 0 /home/smithfarm/ceph/qa/standalone/ceph-helpers.sh:1893: main: return 1 Signed-off-by: Nathan Cutler --- src/test/pybind/test_ceph_argparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/pybind/test_ceph_argparse.py b/src/test/pybind/test_ceph_argparse.py index 146fa58eb80a3..d1769f714891a 100755 --- a/src/test/pybind/test_ceph_argparse.py +++ b/src/test/pybind/test_ceph_argparse.py @@ -95,7 +95,7 @@ class TestArgparse: command, 'toomany'])) - def capture_output(self, args, stdout=None, stderr=None): + def capture_output(self, args, stdout=None, stderr=None): if stdout: stdout = StringIO() sys.stdout = stdout -- 2.39.5