diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-11-10 22:58:32 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-11-10 22:58:32 +0100 |
commit | 04541b8bb9cfeb3574ad67ddfa526e92acb76e51 (patch) | |
tree | 9fe3f57abe66f6f82664a3a5f00feb37aa4d9577 | |
parent | 2f24fc88a944f2227e7fbad8e90e2396a7a8189a (diff) | |
download | psutil-04541b8bb9cfeb3574ad67ddfa526e92acb76e51.tar.gz |
fix testosx-kern-procargs2
-rwxr-xr-x | psutil/tests/test_system.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/tests/test_system.py b/psutil/tests/test_system.py index c788ae6d..872b8988 100755 --- a/psutil/tests/test_system.py +++ b/psutil/tests/test_system.py @@ -597,8 +597,8 @@ class TestDiskAPIs(PsutilTestCase): self.assertIsInstance(nt.mountpoint, str) self.assertIsInstance(nt.fstype, str) self.assertIsInstance(nt.opts, str) - self.assertIsInstance(nt.maxfile, (int, None)) - self.assertIsInstance(nt.maxpath, (int, None)) + self.assertIsInstance(nt.maxfile, (int, type(None))) + self.assertIsInstance(nt.maxpath, (int, type(None))) if nt.maxfile is not None: self.assertGreater(nt.maxfile, 0) if nt.maxpath is not None: |