[tests] remove unused self in map_pp (#4643)

This commit is contained in:
Yakun Xu
2020-03-06 20:07:48 -08:00
committed by GitHub
parent b99f8293f9
commit 9c6df6e541
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ pp_map = {1: 1, 0: 0, 3: -1, 2: -2}
# Get the signed parent priority from the byte that parent priority is in.
def map_pp(self, pp_byte):
def map_pp(pp_byte):
return pp_map[((pp_byte & 0xC0) >> 6)]