diff options
-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: |