about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-08-27 20:25:59 +0200
committertoonn <toonn@toonn.io>2021-08-27 20:25:59 +0200
commit1df7a7e4865790e907be86f84e52dc6125436b05 (patch)
tree31fb3fb75cb0573827375aaa29320e8d458cfd81 /tests
parent4b66f510daeb5d6914a0e1cd1dd0cad16057df9d (diff)
downloadranger-1df7a7e4865790e907be86f84e52dc6125436b05.tar.gz
tests: Ignore encoding in manpage test
Diffstat (limited to 'tests')
-rwxr-xr-xtests/manpage_completion_test.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/manpage_completion_test.py b/tests/manpage_completion_test.py
index f6ce87de..1a01f944 100755
--- a/tests/manpage_completion_test.py
+++ b/tests/manpage_completion_test.py
@@ -6,8 +6,6 @@ import os.path
 import re
 import sys
 
-from ranger.ext.open23 import open23
-
 
 # Add relevant ranger module to PATH... there surely is a better way to do this...
 sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
@@ -28,7 +26,8 @@ def get_path_of_man_page():
 
 def read_manpage():
     path = get_path_of_man_page()
-    with open23(path, 'r') as man_page:
+    # pylint: disable=unspecified-encoding
+    with open(path, 'r') as man_page:
         return man_page.read()