Skip to content

Commit

Permalink
Skip test_mknod_raises_if_unsupported_options for real fs
Browse files Browse the repository at this point in the history
- tested started failing in CI with ubuntu-20.04, version 20210606.1
- may check later if this is a persistent change or a bug
  • Loading branch information
mrbean-bremen committed Jun 10, 2021
1 parent df35f93 commit c8b2b2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyfakefs/tests/fake_os_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,9 @@ def test_mknod_raises_if_filename_is_empty_string(self):

def test_mknod_raises_if_unsupported_options(self):
self.check_posix_only()
# behavior seems to have changed in ubuntu-20.04, version 20210606.1
# skipping real fs tests for now
self.skip_real_fs()
filename = 'abcde'
if not is_root():
self.assert_raises_os_error(errno.EPERM, self.os.mknod, filename,
Expand Down

0 comments on commit c8b2b2e

Please sign in to comment.