diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-07 14:45:12 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-07 14:45:12 +0200 |
commit | 86b408d94681c190491b52e57cca1296ccd790c4 (patch) | |
tree | ba43b6cba64b8d56029aaecb2c8311e78c34691a | |
parent | ef7edab7cdb519756b015c51f1618576b54f04f8 (diff) | |
download | psutil-86b408d94681c190491b52e57cca1296ccd790c4.tar.gz |
fix AttributeError
-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 edbfaa50..0de94fd4 100644 --- a/psutil/tests/__init__.py +++ b/psutil/tests/__init__.py @@ -990,7 +990,7 @@ else: dst = tempfile.mktemp(prefix=dst_prefix, suffix=ext) libs = [x.path for x in psutil.Process().memory_maps() if os.path.splitext(x.path)[1].lower() == ext and - 'python' in x.lower() and 'wow64' not in x.lower()] + 'python' in x.path.lower() and 'wow64' not in x.path.lower()] src = random.choice(libs) shutil.copyfile(src, dst) cfile = None |