diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-07 14:36:37 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-07 14:36:37 +0200 |
commit | 6de4345b6a37ff9237171698fddaf0255fb9e87b (patch) | |
tree | 457eb4b742897d043f43af8ec51204464eba8052 | |
parent | 91a043514e32eb3e79f4e44a572da25ea5c6310b (diff) | |
download | psutil-6de4345b6a37ff9237171698fddaf0255fb9e87b.tar.gz |
use ctypes WinDLL instead of CDLL
-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 e8d7fb05..3f6f5290 100644 --- a/psutil/tests/__init__.py +++ b/psutil/tests/__init__.py @@ -996,7 +996,7 @@ else: shutil.copyfile(src, dst) cfile = None try: - cfile = ctypes.CDLL(dst) + cfile = ctypes.WinDLL(dst) yield dst finally: # Work around ctypes issue introduced in Python 3.4: |