summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2020-11-10 22:58:32 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2020-11-10 22:58:32 +0100
commit04541b8bb9cfeb3574ad67ddfa526e92acb76e51 (patch)
tree9fe3f57abe66f6f82664a3a5f00feb37aa4d9577
parent2f24fc88a944f2227e7fbad8e90e2396a7a8189a (diff)
downloadpsutil-osx-kern-procargs2.tar.gz
-rwxr-xr-xpsutil/tests/test_system.py4
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: