From 04541b8bb9cfeb3574ad67ddfa526e92acb76e51 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Tue, 10 Nov 2020 22:58:32 +0100 Subject: fix test --- psutil/tests/test_system.py | 4 ++-- 1 file 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: -- cgit v1.2.1