We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4df61d commit 30af65cCopy full SHA for 30af65c
pyfakefs/tests/fake_open_test.py
@@ -558,8 +558,8 @@ def test_file_descriptors_for_the_same_file_are_different(self):
558
with self.open(second_path, encoding="utf8") as fake_file2:
559
with self.open(first_path, encoding="utf8") as fake_file1a:
560
fileno2 = fake_file2.fileno()
561
- self.assertGreater(fileno2, fake_file1.fileno())
562
- self.assertGreater(fake_file1a.fileno(), fileno2)
+ self.assertNotEqual(fileno2, fake_file1.fileno())
+ self.assertNotEqual(fake_file1a.fileno(), fileno2)
563
564
def test_reused_file_descriptors_do_not_affect_others(self):
565
first_path = self.make_path("some_file1")
0 commit comments