diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-19 20:17:16 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-19 20:17:16 +0200 |
commit | 5e74fa53becb51c17c21e2867b79d5403081faf0 (patch) | |
tree | 8d7ab7011df4701867156d4213209d12cc9a7f8f | |
parent | eb6ab10d12eb4ecc636e8bac41781db36ac8a12b (diff) | |
download | psutil-5e74fa53becb51c17c21e2867b79d5403081faf0.tar.gz |
remove dead code
-rwxr-xr-x | psutil/tests/test_unicode.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/psutil/tests/test_unicode.py b/psutil/tests/test_unicode.py index 05e0ebcb..9b99fdf9 100755 --- a/psutil/tests/test_unicode.py +++ b/psutil/tests/test_unicode.py @@ -52,7 +52,6 @@ For a detailed explanation of how psutil handles unicode see: - https://pythonhosted.org/psutil/#unicode """ -import errno import os import traceback import warnings @@ -153,20 +152,6 @@ class _BaseFSAPIsTests(object): reap_children() safe_rmpath(self.funky_name) - def safe_rmpath(self, name): - if POSIX: - safe_rmpath(name) - else: - # https://ci.appveyor.com/project/giampaolo/psutil/build/ - # 1225/job/1yec67sr6e9rl217 - try: - safe_rmpath(name) - except OSError as err: - if err.errno in (errno.EACCES, errno.EPERM): - traceback.print_exc() - else: - raise - def expect_exact_path_match(self): raise NotImplementedError("must be implemented in subclass") |