Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Apr 12, 2023
1 parent 4ec0fef commit ac1c155
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psutil/tests/test_contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ def test_disk_partitions(self):
self.assertIsInstance(disk.mountpoint, str)
self.assertIsInstance(disk.fstype, str)
self.assertIsInstance(disk.opts, str)
self.assertIsInstance(disk.maxfile, (int, None))
self.assertIsInstance(disk.maxpath, (int, None))
self.assertIsInstance(disk.maxfile, (int, type(None)))
self.assertIsInstance(disk.maxpath, (int, type(None)))

@unittest.skipIf(SKIP_SYSCONS, "requires root")
def test_net_connections(self):
Expand Down

0 comments on commit ac1c155

Please sign in to comment.