diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-04 06:33:57 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-04 06:33:57 +0200 |
commit | 7ed7472a7b4a486c8f0cbc3436e98caed380e4a6 (patch) | |
tree | c6d79a8721d6895c8da3cb6228d1e51e882aa93c | |
parent | ec42f77f5ab929e6557b44810c92313e9d0d89d6 (diff) | |
download | psutil-1040-fix-unicode.tar.gz |
try to minimize dll test failures on windows by picking python dll1040-fix-unicode
-rw-r--r-- | psutil/tests/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/tests/__init__.py b/psutil/tests/__init__.py index c813ce46..a1bd53a1 100644 --- a/psutil/tests/__init__.py +++ b/psutil/tests/__init__.py @@ -968,7 +968,7 @@ def copyload_shared_lib(dst_prefix=TESTFILE_PREFIX): libs = [x.path for x in psutil.Process().memory_maps() if os.path.normcase(os.path.splitext(x.path)[1]) == ext] if WINDOWS: - libs = [x for x in libs if 'wow64' not in x.lower()] + libs = [x for x in libs if 'python' in os.path.basename(x).lower()] src = random.choice(libs) cfile = None try: |