From c7c6a6061bd0b2dee561ab75a8f74c0061d6fe3a Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 8 Jan 2016 09:56:27 +0000 Subject: [PATCH] Correct invalid docstring The 'get_core_mappings' function does not accept any arguments so don't say it does. Change-Id: I7fffef50ab6d59bf72a70be7dfd028fb6d72afbf --- intel_nfv_ci_tests/tests/scenario/test_cpu_pinning.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/intel_nfv_ci_tests/tests/scenario/test_cpu_pinning.py b/intel_nfv_ci_tests/tests/scenario/test_cpu_pinning.py index 3b634ac..ace5beb 100644 --- a/intel_nfv_ci_tests/tests/scenario/test_cpu_pinning.py +++ b/intel_nfv_ci_tests/tests/scenario/test_cpu_pinning.py @@ -42,7 +42,9 @@ def get_core_mappings(): The physical cores are assigned indexes first (0-based) and start at node 0. The virtual cores are then listed. - >>> get_core_mappings(2) + >>> multiprocessing.cpu_count() + 2 + >>> get_core_mappings() {0: ([0, 1], [4, 5]), 1: ([2, 3], [6, 7])} """ # get number of real CPUs per socket, assuming a dual-socket,