FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2018 PLD Team
$Revision: 1.37 $
Powered by Dark Side of the Force.
Your IP: 54.234.228.185

python-pyfakefs e5836a24-952a-4954-bf39-cbd563af6de2

Status:Failed
Source URL:ftp://buildlogs.pld-linux.org/th/x86_64/FAIL/python-pyfakefs,e5836a24-952a-4954-bf39-cbd563af6de2.bz2
text/plain URL:View!
rpm -qa of builder:View!
Date:2018/07/03 18:45:04
Runtime:0:00:05.246527

Toc:

  • prep
  • Executing(%prep): /bin/sh -e /tmp/B.4akBAq/BUILD/tmp/rpm-tmp.91602
  • build
  • Executing(%build): /bin/sh -e /tmp/B.4akBAq/BUILD/tmp/rpm-tmp.91602
  • error 1
  • ValueError: Plugin already registered: pyfakefs.pytest_plugin=<module 'pyfakefs.pytest_plugin' from '/tmp/B.4akBAq/BUILD/pyfakefs-3.4.3/build-2/lib/pyfakefs/pytest_plugin.py'>
  • error 2
  • error: Bad exit status from /tmp/B.4akBAq/BUILD/tmp/rpm-tmp.91602 (%build)
  • error 3
  • RPM build errors:
  • error 4
  • error: No files produced.

Content:

request from: arekm
checking if we should skip the build
started at: Tue Jul  3 18:44:56 2018
killing old processes on a builder
mesg: ttyname failed: Inappropriate ioctl for device
sending signal 9 to pid -1
Killed
cleaning up /tmp
mesg: ttyname failed: Inappropriate ioctl for device
fetching https://srcbuilder.pld-linux.org/th//srpms/e5836a24-952a-4954-bf39-cbd563af6de2/python-pyfakefs-3.4.3-1.src.rpm
fetched 171257 bytes, 317.3 K/s
installing srpm: python-pyfakefs-3.4.3-1.src.rpm
mesg: ttyname failed: Inappropriate ioctl for device
+ install -d /tmp/B.4akBAq/BUILD /tmp/B.4akBAq/RPMS
+ LC_ALL=en_US.UTF-8
+ rpm -qp --changelog python-pyfakefs-3.4.3-1.src.rpm
* Tue Jul 03 2018 PLD Linux Team <feedback@pld-linux.org>
- For complete changelog see: http://git.pld-linux.org/?p=packages/python-pyfakefs.git;a=log;h=master
* Tue Jul 03 2018 Arkadiusz Miśkiewicz <arekm@maven.pl> 08eb532
- up to 3.4.3 * Tue Jul 03 2018 Arkadiusz Miśkiewicz <arekm@maven.pl> 47e9306
- release 2 (by relup.sh) * Sun May 20 2018 Jakub Bogusz <qboosh@pld-linux.org> f1c59ea
- handle case with python3-scandir module installed * Sat May 19 2018 Jakub Bogusz <qboosh@pld-linux.org> 6a0c7f7
- require python-scandir for python2 tests * Sat May 19 2018 Jakub Bogusz <qboosh@pld-linux.org> 792227e
- new + rpm -Uhv --nodeps --define '_topdir /tmp/B.4akBAq' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' python-pyfakefs-3.4.3-1.src.rpm Preparing... ################################################## python-pyfakefs ################################################## + rm -f python-pyfakefs-3.4.3-1.src.rpm mesg: ttyname failed: Inappropriate ioctl for device + install -m 700 -d /tmp/B.4akBAq/BUILD/tmp mesg: ttyname failed: Inappropriate ioctl for device + TMPDIR=/tmp/B.4akBAq/BUILD/tmp + exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.4akBAq' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x86_64-pld-linux --define 'prep exit 0' /tmp/B.4akBAq/python-pyfakefs.spec Building target platforms: x86_64-pld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR rpm: Building target platforms: x86_64-pld-linux no BR needed building RPM using: set -ex; : build-id: e5836a24-952a-4954-bf39-cbd563af6de2; TMPDIR=/tmp/B.4akBAq/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.4akBAq' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x86_64-pld-linux /tmp/B.4akBAq/python-pyfakefs.spec mesg: ttyname failed: Inappropriate ioctl for device + : build-id: e5836a24-952a-4954-bf39-cbd563af6de2 + TMPDIR=/tmp/B.4akBAq/BUILD/tmp + exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.4akBAq' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x86_64-pld-linux /tmp/B.4akBAq/python-pyfakefs.spec Building target platforms: x86_64-pld-linux Executing(%prep): /bin/sh -e /tmp/B.4akBAq/BUILD/tmp/rpm-tmp.91602 + umask 022 + cd /tmp/B.4akBAq/BUILD + cd /tmp/B.4akBAq/BUILD + rm -rf pyfakefs-3.4.3 + /usr/bin/gzip -dc /tmp/B.4akBAq/pyfakefs-3.4.3.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyfakefs-3.4.3 + /bin/id -u + '[' 1000 '=' 0 ']' + /bin/id -u + '[' 1000 '=' 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (python-pyfakefs-tests.patch):' Patch #0 (python-pyfakefs-tests.patch): + '[' -f /tmp/B.4akBAq/python-pyfakefs-tests.patch ']' + /bin/cat /tmp/B.4akBAq/python-pyfakefs-tests.patch + /usr/bin/patch -s -p1 + exit 0 Executing(%build): /bin/sh -e /tmp/B.4akBAq/BUILD/tmp/rpm-tmp.91602 TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/home/users/builder/GNUstep/Tools:/usr/local/bin:/usr/bin:/bin:/home/users/builder/bin TMPDIR=/tmp/B.4akBAq/BUILD/tmp + umask 022 + cd /tmp/B.4akBAq/BUILD + cd pyfakefs-3.4.3 + export 'LC_ALL=C.UTF-8' + LDFLAGS='-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' + export LDFLAGS + CFLAGS=' -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' + export CFLAGS + CXXFLAGS=' -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' + export CXXFLAGS + CC=x86_64-pld-linux-gcc + export CC + CXX=x86_64-pld-linux-g++ + export CXX + /usr/bin/python2 setup.py build '--build-base=build-2' /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running build running build_py creating build-2 creating build-2/lib creating build-2/lib/pyfakefs copying pyfakefs/__init__.py -> build-2/lib/pyfakefs copying pyfakefs/deprecator.py -> build-2/lib/pyfakefs copying pyfakefs/fake_filesystem.py -> build-2/lib/pyfakefs copying pyfakefs/fake_filesystem_shutil.py -> build-2/lib/pyfakefs copying pyfakefs/fake_filesystem_unittest.py -> build-2/lib/pyfakefs copying pyfakefs/fake_pathlib.py -> build-2/lib/pyfakefs copying pyfakefs/fake_scandir.py -> build-2/lib/pyfakefs copying pyfakefs/helpers.py -> build-2/lib/pyfakefs copying pyfakefs/mox3_stubout.py -> build-2/lib/pyfakefs copying pyfakefs/pytest_plugin.py -> build-2/lib/pyfakefs creating build-2/lib/pyfakefs/tests copying pyfakefs/tests/__init__.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/all_tests.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/dynamic_patch_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/example.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/example_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/fake_filesystem_glob_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/fake_filesystem_shutil_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/fake_filesystem_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/fake_filesystem_unittest_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/fake_filesystem_vs_real_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/fake_open_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/fake_pathlib_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/fake_tempfile_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/import_as_example.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/mox3_stubout_example.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/mox3_stubout_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/pytest_check_failed_plugin_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/pytest_doctest_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/pytest_plugin_failing_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/pytest_plugin_test.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/test_utils.py -> build-2/lib/pyfakefs/tests copying pyfakefs/tests/fake_os_test.py -> build-2/lib/pyfakefs/tests creating build-2/lib/pyfakefs/tests/fixtures copying pyfakefs/tests/fixtures/__init__.py -> build-2/lib/pyfakefs/tests/fixtures copying pyfakefs/tests/fixtures/module_with_attributes.py -> build-2/lib/pyfakefs/tests/fixtures + /usr/bin/python2 -m pyfakefs.tests.all_tests test_alt_sep (pyfakefs.tests.fake_filesystem_test.AlternativePathSeparatorTest) ... ok test_collapse_path_with_mixed_separators (pyfakefs.tests.fake_filesystem_test.AlternativePathSeparatorTest) ... ok test_exists_with_mixed_separators (pyfakefs.tests.fake_filesystem_test.AlternativePathSeparatorTest) ... ok test_initial_value (pyfakefs.tests.fake_filesystem_test.AlternativePathSeparatorTest) ... ok test_normalize_path_with_mixed_separators (pyfakefs.tests.fake_filesystem_test.AlternativePathSeparatorTest) ... ok test_create_directory_with_different_case_root (pyfakefs.tests.fake_filesystem_test.CaseInsensitiveFakeFilesystemTest) ... ok test_create_file_with_different_case_dir (pyfakefs.tests.fake_filesystem_test.CaseInsensitiveFakeFilesystemTest) ... ok test_exists (pyfakefs.tests.fake_filesystem_test.CaseInsensitiveFakeFilesystemTest) ... ok test_get_mtime (pyfakefs.tests.fake_filesystem_test.CaseInsensitiveFakeFilesystemTest) ... ok test_get_object (pyfakefs.tests.fake_filesystem_test.CaseInsensitiveFakeFilesystemTest) ... ok test_get_object_with_file_size (pyfakefs.tests.fake_filesystem_test.CaseInsensitiveFakeFilesystemTest) ... ok test_getsize (pyfakefs.tests.fake_filesystem_test.CaseInsensitiveFakeFilesystemTest) ... ok test_getsize_with_looping_symlink (pyfakefs.tests.fake_filesystem_test.CaseInsensitiveFakeFilesystemTest) ... ok test_isdir_isfile (pyfakefs.tests.fake_filesystem_test.CaseInsensitiveFakeFilesystemTest) ... ok test_remove_object (pyfakefs.tests.fake_filesystem_test.CaseInsensitiveFakeFilesystemTest) ... ok test_resolve_path (pyfakefs.tests.fake_filesystem_test.CaseInsensitiveFakeFilesystemTest) ... ok test_create_directory_with_different_case_root (pyfakefs.tests.fake_filesystem_test.CaseSensitiveFakeFilesystemTest) ... ok test_create_file_with_different_case_dir (pyfakefs.tests.fake_filesystem_test.CaseSensitiveFakeFilesystemTest) ... ok test_exists (pyfakefs.tests.fake_filesystem_test.CaseSensitiveFakeFilesystemTest) ... ok test_get_mtime (pyfakefs.tests.fake_filesystem_test.CaseSensitiveFakeFilesystemTest) ... ok test_get_object (pyfakefs.tests.fake_filesystem_test.CaseSensitiveFakeFilesystemTest) ... ok test_getsize (pyfakefs.tests.fake_filesystem_test.CaseSensitiveFakeFilesystemTest) ... ok test_isdir_isfile (pyfakefs.tests.fake_filesystem_test.CaseSensitiveFakeFilesystemTest) ... ok test_remove_object (pyfakefs.tests.fake_filesystem_test.CaseSensitiveFakeFilesystemTest) ... ok test_all_dot_paths_removed_but_one (pyfakefs.tests.fake_filesystem_test.CollapsePathPipeSeparatorTest) ... ok test_all_dot_paths_removed_if_another_path_component_exists (pyfakefs.tests.fake_filesystem_test.CollapsePathPipeSeparatorTest) ... ok test_combine_dot_and_up_level_references_in_absolute_path (pyfakefs.tests.fake_filesystem_test.CollapsePathPipeSeparatorTest) ... ok test_conserves_up_level_references_starting_from_current_dir (pyfakefs.tests.fake_filesystem_test.CollapsePathPipeSeparatorTest) ... ok test_dot_path_unchanged (pyfakefs.tests.fake_filesystem_test.CollapsePathPipeSeparatorTest) ... ok test_dots_in_path_collapses_to_last_path (pyfakefs.tests.fake_filesystem_test.CollapsePathPipeSeparatorTest) ... ok test_empty_path_becomes_dot_path (pyfakefs.tests.fake_filesystem_test.CollapsePathPipeSeparatorTest) ... ok test_ignores_up_level_references_starting_from_root (pyfakefs.tests.fake_filesystem_test.CollapsePathPipeSeparatorTest) ... ok test_multiple_separators_collapsed_into_root_path (pyfakefs.tests.fake_filesystem_test.CollapsePathPipeSeparatorTest) ... ok test_root_path (pyfakefs.tests.fake_filesystem_test.CollapsePathPipeSeparatorTest) ... ok test_slashes_are_not_collapsed (pyfakefs.tests.fake_filesystem_test.CollapsePathPipeSeparatorTest) Tests that '/' is not treated specially if the ... ok test_copying_preserves_byte_contents (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... skipped 'Tests byte contents in Python3' test_creating_file_with_content_too_large (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_creating_file_with_fitting_content (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_creating_file_with_fitting_size (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_creating_file_with_size_too_large (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_disk_size_on_auto_mounted_drive_on_directory_creation (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_disk_size_on_auto_mounted_drive_on_file_creation (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_disk_size_on_unlimited_disk (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_disk_usage_on_file_creation (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_file_system_size_after_ascii_string_file_creation (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_file_system_size_after_binary_file_creation (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_file_system_size_after_directory_removal (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_file_system_size_after_directory_rename (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_file_system_size_after_file_deletion (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_file_system_size_after_file_rename (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_file_system_size_after_large_file_creation (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_filesystem_size_after_2byte_unicode_file_creation (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_filesystem_size_after_3byte_unicode_file_creation (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_resize_file_with_fitting_size (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_resize_file_with_size_too_large (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_set_larger_disk_size (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_set_smaller_disk_size (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_that_disk_usage_of_correct_mount_point_is_used (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_that_hard_link_does_not_change_used_size (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_that_the_size_of_correct_mount_point_is_used (pyfakefs.tests.fake_filesystem_test.DiskSpaceTest) ... ok test_characters_before_root_ignored_in_join_paths (pyfakefs.tests.fake_filesystem_test.DriveLetterSupportTest) ... ok test_collapse_path (pyfakefs.tests.fake_filesystem_test.DriveLetterSupportTest) ... ok test_collapse_unc_path (pyfakefs.tests.fake_filesystem_test.DriveLetterSupportTest) ... ok test_get_path_components (pyfakefs.tests.fake_filesystem_test.DriveLetterSupportTest) ... ok test_initial_value (pyfakefs.tests.fake_filesystem_test.DriveLetterSupportTest) ... ok test_normalize_path_bytes (pyfakefs.tests.fake_filesystem_test.DriveLetterSupportTest) ... ok test_normalize_path_str (pyfakefs.tests.fake_filesystem_test.DriveLetterSupportTest) ... ok test_resolve_path (pyfakefs.tests.fake_filesystem_test.DriveLetterSupportTest) ... ok test_split_drive_bytes (pyfakefs.tests.fake_filesystem_test.DriveLetterSupportTest) ... ok test_split_drive_str (pyfakefs.tests.fake_filesystem_test.DriveLetterSupportTest) ... ok test_split_drive_with_unc_path (pyfakefs.tests.fake_filesystem_test.DriveLetterSupportTest) ... ok test_split_path_bytes (pyfakefs.tests.fake_filesystem_test.DriveLetterSupportTest) ... ok test_split_path_str (pyfakefs.tests.fake_filesystem_test.DriveLetterSupportTest) ... ok test_add_entry (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_directory_inode (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_file_inode (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_get_entry (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_leave_file_unchanged_if_size_is_equal_to_current_size (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_new_file_and_directory (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_ordered_dirs (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_pads_with_nullbytes_if_size_is_greater_than_current_size (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_path (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_path_after_chdir (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_path_after_chdir_with_drive (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_path_with_drive (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_produce_empty_file_if_set_size_is_zero (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_remove_entry (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_set_contents_to_dir_raises (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_set_m_time (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_sets_content_empty_if_set_size_is_zero (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_should_throw_if_set_size_is_negative (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_should_throw_if_set_size_is_not_integer (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_truncate_file_if_size_is_smaller_than_current_size (pyfakefs.tests.fake_filesystem_test.FakeDirectoryUnitTest) ... ok test_add_object_to_child (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_add_object_to_regular_file_error_posix (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_add_object_to_regular_file_error_windows (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_add_object_to_root (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_directory (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_directory_already_exists_error (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_directory_in_root_directory (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_directory_in_root_directory_already_exists_error (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_file (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_file_already_exists_error (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_file_in_current_directory (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_file_in_read_only_directory_possible_in_windows (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_file_in_read_only_directory_raises_in_posix (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_file_in_root_directory (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_file_in_root_directory_already_exists_error (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_file_with_incorrect_mode_type (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_file_with_size_but_no_content_creates_large_file (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_create_link (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_directory_access_on_file_posix (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_directory_access_on_file_windows (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_empty_string_does_not_exist (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_exists_added_file (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_exists_file_added_to_child (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_exists_file_removed_from_child (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_exists_relative_path_posix (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_exists_relative_path_windows (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_exists_removed_file (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_exists_root (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_exists_unadded_file (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_get_nonexistent_object_from_child_error (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_get_nonexistent_object_from_root_error (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_get_object_from_child (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_get_object_from_root (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_get_root_object (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_lresolve_object_posix (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_lresolve_object_windows (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... skipped 'Links are not supported under Windows before Python 3.3' test_new_filesystem (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_none_raises_type_error (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_not_exists_subpath_named_like_file_contents (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_operate_on_grandchild_directory (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_remove_nonexisten_object_from_root_error (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_remove_object_from_child (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_remove_object_from_child_error (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_remove_object_from_non_directory_error (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_remove_object_from_root (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_resolve_object (pyfakefs.tests.fake_filesystem_test.FakeFilesystemUnitTest) ... ok test_abs_path_with_drive_component (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_abspath_bytes_posix (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_abspath_bytes_windows (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_abspath_deals_with_relative_non_root_path (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) abspath should correctly handle relative paths from a ... ok test_abspath_posix (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) abspath should return a consistent representation of a file. ... ok test_abspath_windows (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_dirname (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_dirname_with_drive (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_exists (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_expand_root (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_expand_user (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_get_mtime (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_get_mtime_raises_os_error (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_getattr_forward_to_real_os_path (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) Forwards any non-faked calls to os.path. ... ok test_getsize_dir_empty (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_getsize_dir_non_zero_size (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_getsize_file_empty (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_getsize_file_non_zero_size (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_getsize_path_nonexistent (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_is_link_case_sensitive (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_isabs_with_drive_component (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_isdir (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_isdir_with_cwd_change (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_isfile (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_islink (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_ismount (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_ismount_with_alternate_path_separator (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_ismount_with_drive_letters (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_ismount_with_unc_paths (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_join_bytes (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_join_strings (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_lexists (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_realpath_vs_abspath (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_relpath (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_samefile (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_walk (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_walk_from_nonexistent_top_does_not_throw (pyfakefs.tests.fake_filesystem_test.FakePathModuleTest) ... ok test_absolute_path_with_one_component_should_return_component (pyfakefs.tests.fake_filesystem_test.GetPathComponentsTest) ... ok test_empty_path_should_return_empty_list (pyfakefs.tests.fake_filesystem_test.GetPathComponentsTest) ... ok test_relative_path_with_one_component_should_return_component (pyfakefs.tests.fake_filesystem_test.GetPathComponentsTest) ... ok test_root_path_should_return_empty_list (pyfakefs.tests.fake_filesystem_test.GetPathComponentsTest) ... ok test_two_level_absolute_path_should_return_components (pyfakefs.tests.fake_filesystem_test.GetPathComponentsTest) ... ok test_two_level_relative_path_should_return_components (pyfakefs.tests.fake_filesystem_test.GetPathComponentsTest) ... ok test_components_preceding_absolute_component_are_ignored (pyfakefs.tests.fake_filesystem_test.JoinPathTest) ... ok test_internal_empty_components_ignored (pyfakefs.tests.fake_filesystem_test.JoinPathTest) ... ok test_multiple_empty_components (pyfakefs.tests.fake_filesystem_test.JoinPathTest) ... ok test_no_separator_added_for_components_ending_in_separator (pyfakefs.tests.fake_filesystem_test.JoinPathTest) ... ok test_no_separator_added_for_leading_empty_components (pyfakefs.tests.fake_filesystem_test.JoinPathTest) ... ok test_one_empty_component (pyfakefs.tests.fake_filesystem_test.JoinPathTest) ... ok test_one_separator_added_between_components (pyfakefs.tests.fake_filesystem_test.JoinPathTest) ... ok test_one_separator_added_for_trailing_empty_components (pyfakefs.tests.fake_filesystem_test.JoinPathTest) ... ok test_separators_not_stripped_from_single_component (pyfakefs.tests.fake_filesystem_test.JoinPathTest) ... ok test_that_drives_are_auto_mounted (pyfakefs.tests.fake_filesystem_test.MountPointTest) ... ok test_that_drives_are_auto_mounted_case_insensitive (pyfakefs.tests.fake_filesystem_test.MountPointTest) ... ok test_that_mount_point_cannot_be_added_twice (pyfakefs.tests.fake_filesystem_test.MountPointTest) ... ok test_that_new_directories_get_correct_device_number (pyfakefs.tests.fake_filesystem_test.MountPointTest) ... ok test_that_new_files_get_correct_device_number (pyfakefs.tests.fake_filesystem_test.MountPointTest) ... ok test_that_new_mount_points_get_new_device_number (pyfakefs.tests.fake_filesystem_test.MountPointTest) ... ok test_that_unc_paths_are_auto_mounted (pyfakefs.tests.fake_filesystem_test.MountPointTest) ... ok test_normalize_case (pyfakefs.tests.fake_filesystem_test.NormalizeCaseTest) ... ok test_normalize_case_for_drive (pyfakefs.tests.fake_filesystem_test.NormalizeCaseTest) ... ok test_normalize_case_for_lazily_added_empty_file (pyfakefs.tests.fake_filesystem_test.NormalizeCaseTest) ... skipped 'Regression test for Windows problem only' test_normalize_case_for_non_existing_file (pyfakefs.tests.fake_filesystem_test.NormalizeCaseTest) ... ok test_absolute_path_remains_unchanged (pyfakefs.tests.fake_filesystem_test.NormalizePathTest) ... ok test_dot_path_is_normalized (pyfakefs.tests.fake_filesystem_test.NormalizePathTest) ... ok test_dotted_path_is_normalized (pyfakefs.tests.fake_filesystem_test.NormalizePathTest) ... ok test_empty_path_should_get_normalized_to_root_path (pyfakefs.tests.fake_filesystem_test.NormalizePathTest) ... ok test_relative_path_forced_to_cwd (pyfakefs.tests.fake_filesystem_test.NormalizePathTest) ... ok test_root_path_remains_unchanged (pyfakefs.tests.fake_filesystem_test.NormalizePathTest) ... ok test_create_top_level_directory (pyfakefs.tests.fake_filesystem_test.OsPathInjectionRegressionTest) ... ok test_os_path_sep_matches_fake_filesystem_separator (pyfakefs.tests.fake_filesystem_test.PathSeparatorTest) ... ok test_add_existing_real_directory_lazily (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_existing_real_directory_not_lazily (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_existing_real_directory_read_only (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_existing_real_directory_read_write (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_existing_real_directory_tree (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_existing_real_directory_tree_to_existing_path (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_existing_real_directory_tree_to_other_path (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_existing_real_file_read_only (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_existing_real_file_read_write (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_existing_real_paths_read_only (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_existing_real_paths_read_write (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_non_existing_real_directory_raises (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_non_existing_real_file_raises (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_real_file_to_existing_path (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_add_real_file_to_non_existing_path (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_existing_fake_directory_raises (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_existing_fake_file_raises (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_get_object_from_lazily_added_real_directory (pyfakefs.tests.fake_filesystem_test.RealFileSystemAccessTest) ... ok test_sets_content_none_if_size_is_non_negative_integer (pyfakefs.tests.fake_filesystem_test.SetLargeFileSizeTest) ... ok test_should_throw_if_size_is_negative (pyfakefs.tests.fake_filesystem_test.SetLargeFileSizeTest) ... ok test_should_throw_if_size_is_not_integer (pyfakefs.tests.fake_filesystem_test.SetLargeFileSizeTest) ... ok test_eliminate_trailing_separators_from_head (pyfakefs.tests.fake_filesystem_test.SplitPathTest) ... ok test_empty_path (pyfakefs.tests.fake_filesystem_test.SplitPathTest) ... ok test_empty_path_components_are_preserved_in_head (pyfakefs.tests.fake_filesystem_test.SplitPathTest) ... ok test_empty_tail_if_path_ends_in_separator (pyfakefs.tests.fake_filesystem_test.SplitPathTest) ... ok test_no_separators (pyfakefs.tests.fake_filesystem_test.SplitPathTest) ... ok test_root_separator_is_not_stripped (pyfakefs.tests.fake_filesystem_test.SplitPathTest) ... ok test_slashes_do_not_split (pyfakefs.tests.fake_filesystem_test.SplitPathTest) Tests that '/' is not treated specially if the ... ok test_glob1 (pyfakefs.tests.fake_filesystem_glob_test.FakeGlobUnitTest) ... ok test_glob_empty (pyfakefs.tests.fake_filesystem_glob_test.FakeGlobUnitTest) ... ok test_glob_exact (pyfakefs.tests.fake_filesystem_glob_test.FakeGlobUnitTest) ... ok test_glob_no_magic (pyfakefs.tests.fake_filesystem_glob_test.FakeGlobUnitTest) ... ok test_glob_question (pyfakefs.tests.fake_filesystem_glob_test.FakeGlobUnitTest) ... ok test_glob_star (pyfakefs.tests.fake_filesystem_glob_test.FakeGlobUnitTest) ... ok test_has_magic (pyfakefs.tests.fake_filesystem_glob_test.FakeGlobUnitTest) ... ok test_magic_dir (pyfakefs.tests.fake_filesystem_glob_test.FakeGlobUnitTest) ... ok test_non_existent_path (pyfakefs.tests.fake_filesystem_glob_test.FakeGlobUnitTest) ... ok test_common_case (pyfakefs.tests.fake_filesystem_shutil_test.FakeCopyFileTest) ... ok test_raises_if_dest_dir_is_not_writable_under_posix (pyfakefs.tests.fake_filesystem_shutil_test.FakeCopyFileTest) ... ok test_raises_if_dest_exists_and_is_not_writable (pyfakefs.tests.fake_filesystem_shutil_test.FakeCopyFileTest) ... ok test_raises_if_dest_is_a_directory (pyfakefs.tests.fake_filesystem_shutil_test.FakeCopyFileTest) ... ok test_raises_if_dest_is_a_symlink_to_src (pyfakefs.tests.fake_filesystem_shutil_test.FakeCopyFileTest) ... ok test_raises_if_source_and_dest_are_the_same_file (pyfakefs.tests.fake_filesystem_shutil_test.FakeCopyFileTest) ... ok test_raises_if_src_doesnt_exist (pyfakefs.tests.fake_filesystem_shutil_test.FakeCopyFileTest) ... ok test_raises_if_src_is_a_directory (pyfakefs.tests.fake_filesystem_shutil_test.FakeCopyFileTest) ... ok test_raises_if_src_not_readable (pyfakefs.tests.fake_filesystem_shutil_test.FakeCopyFileTest) ... ok test_succeeds_if_dest_exists_and_is_writable (pyfakefs.tests.fake_filesystem_shutil_test.FakeCopyFileTest) ... ok test_copy (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_copy2 (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_copy2_directory (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_copy_directory (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_copystat (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_copytree (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_copytree_src_is_file (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_disk_usage (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... skipped 'New in Python 3.3' test_move_directory (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_move_file_in_same_filesystem (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_move_file_into_directory (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_move_file_into_other_filesystem (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_rmtree (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_rmtree_non_existing_dir (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_rmtree_non_existing_dir_with_handler (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_rmtree_with_open_file_fails_under_windows (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... skipped 'Windows specific behavior' test_rmtree_with_open_file_posix (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_rmtree_with_trailing_slash (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_rmtree_without_permission_for_a_dir_in_posix (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... ok test_rmtree_without_permission_for_a_file_in_windows (pyfakefs.tests.fake_filesystem_shutil_test.FakeShutilModuleTest) ... skipped 'Windows specific behavior' test_common_case (pyfakefs.tests.fake_filesystem_shutil_test.RealCopyFileTest) ... ok test_raises_if_dest_dir_is_not_writable_under_posix (pyfakefs.tests.fake_filesystem_shutil_test.RealCopyFileTest) ... ok test_raises_if_dest_exists_and_is_not_writable (pyfakefs.tests.fake_filesystem_shutil_test.RealCopyFileTest) ... ok test_raises_if_dest_is_a_directory (pyfakefs.tests.fake_filesystem_shutil_test.RealCopyFileTest) ... ok test_raises_if_dest_is_a_symlink_to_src (pyfakefs.tests.fake_filesystem_shutil_test.RealCopyFileTest) ... ok test_raises_if_source_and_dest_are_the_same_file (pyfakefs.tests.fake_filesystem_shutil_test.RealCopyFileTest) ... ok test_raises_if_src_doesnt_exist (pyfakefs.tests.fake_filesystem_shutil_test.RealCopyFileTest) ... ok test_raises_if_src_is_a_directory (pyfakefs.tests.fake_filesystem_shutil_test.RealCopyFileTest) ... ok test_raises_if_src_not_readable (pyfakefs.tests.fake_filesystem_shutil_test.RealCopyFileTest) ... ok test_succeeds_if_dest_exists_and_is_writable (pyfakefs.tests.fake_filesystem_shutil_test.RealCopyFileTest) ... ok test_copy (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_copy2 (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_copy2_directory (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_copy_directory (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_copystat (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_copytree (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_copytree_src_is_file (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_disk_usage (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... skipped 'New in Python 3.3' test_move_directory (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_move_file_in_same_filesystem (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... skipped 'Only tests fake FS' test_move_file_into_directory (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_move_file_into_other_filesystem (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... skipped 'Only tests fake FS' test_rmtree (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_rmtree_non_existing_dir (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_rmtree_non_existing_dir_with_handler (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_rmtree_with_open_file_fails_under_windows (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... skipped 'Windows specific behavior' test_rmtree_with_open_file_posix (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_rmtree_with_trailing_slash (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_rmtree_without_permission_for_a_dir_in_posix (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... ok test_rmtree_without_permission_for_a_file_in_windows (pyfakefs.tests.fake_filesystem_shutil_test.RealShutilModuleTest) ... skipped 'Windows specific behavior' test_access (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_chmod (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_chown (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_link (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_lstat (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_mkdir (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_mknod (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_open (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_readlink (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_remove (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_rename (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_rmdir (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_stat (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_unlink (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' test_utime (pyfakefs.tests.fake_os_test.FakeOsModuleDirFdTest) ... skipped 'dir_fd argument was introduced in Python 3.3' testOpenCreateMode444Windows (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok testOpenCreateMode666Windows (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_can_read_after_create_exclusive (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_exclusive_open_raises_without_create_mode (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_append (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_create (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_create_is_read_only (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_create_mode_posix (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_create_mode_windows (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_create_truncate_is_read_only (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_directory_for_writing_raises_under_posix (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_directory_raises_under_windows (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_directory_read_only_under_posix (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_exclusive (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... skipped 'Exclusive mode new in Python 3.3' test_open_exclusive_if_symlink_exists_works_in_windows (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... skipped 'Exclusive mode new in Python 3.3' test_open_exclusive_raises_if_file_exists (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... skipped 'Exclusive mode new in Python 3.3' test_open_exclusive_raises_if_symlink_exists_in_posix (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... skipped 'Exclusive mode new in Python 3.3' test_open_mode_posix (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_mode_windows (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_raises_if_does_not_exist (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_raises_if_parent_does_not_exist (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_read_only (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_read_only_write_zero_bytes_posix (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_read_only_write_zero_bytes_windows (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_read_write (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_truncate (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_write_only (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_write_only_raises_on_read (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_write_only_read_zero_bytes_posix (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_open_write_only_read_zero_bytes_windows (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_opening_existing_directory_in_creation_mode (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_opening_existing_directory_in_write_mode (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_read_after_closing_write_descriptor (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_read_only_read_after_write (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_temp_file (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... skipped 'O_TEMPORARY only present in Windows' test_write_from_different_f_ds (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_write_from_different_fds_with_append (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_write_read (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_writing_behind_end_of_file (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_writing_to_existing_directory (pyfakefs.tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ... ok test_access400 (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_access600 (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_access700 (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_access_non_existent_file (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_access_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'follow_symlinks new in Python 3.3' test_append_mode_tell_linux_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_append_mode_tell_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_backwards_chdir (pyfakefs.tests.fake_os_test.FakeOsModuleTest) chdir into '..' should behave appropriately. ... ok test_broken_symlink_with_trailing_sep_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_broken_symlink_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_broken_symlink_with_trailing_separator_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_broken_symlink_with_trailing_separator_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_broken_symlink_with_trailing_separator_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_chdir (pyfakefs.tests.fake_os_test.FakeOsModuleTest) chdir should work on a directory. ... ok test_chdir_fails_non_directory (pyfakefs.tests.fake_os_test.FakeOsModuleTest) chdir should raise OSError if the target is not a directory. ... ok test_chdir_fails_non_exist (pyfakefs.tests.fake_os_test.FakeOsModuleTest) chdir should raise OSError if the target does not exist. ... ok test_chmod (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_chmod_dir (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_chmod_follow_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'follow_symlinks new in Python 3.3' test_chmod_no_follow_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'follow_symlinks new in Python 3.3' test_chmod_non_existent (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_chmod_uses_open_fd_as_path (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'file descriptor as path new in Python 3.3' test_chown_bad_arguments (pyfakefs.tests.fake_os_test.FakeOsModuleTest) os.chown() with bad args (Issue #30) ... ok test_chown_existing_file (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_chown_follow_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'follow_symlinks new in Python 3.3' test_chown_no_follow_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'follow_symlinks new in Python 3.3' test_chown_nonexisting_file_should_raise_os_error (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_chown_uses_open_fd_as_path (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'file descriptor as path new in Python 3.3' test_circular_readlink_with_trailing_separator_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_circular_readlink_with_trailing_separator_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_circular_readlink_with_trailing_separator_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_classify_directory_contents (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Directory classification should work correctly. ... ok test_closed_file_descriptor (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_consecutive_chdir (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Consecutive relative chdir calls should work. ... ok test_dir_with_trailing_sep_is_dir (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_exists_current_dir (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_exists_with_trailing_sep (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_fdatasync_pass (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_fdatasync_raises_on_invalid_fd (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_fdatasync_raises_on_non_int (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_fdopen (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_fdopen_mode (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_fstat (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_fsync_pass_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_fsync_pass_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_fsync_raises_on_invalid_fd (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_fsync_raises_on_non_int (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_get_cwd (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_getsize_raises_with_trailing_separator_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_getsize_raises_with_trailing_separator_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_hardlink_works_with_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_isfile_with_trailing_separator_linux_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_isfile_with_trailing_separator_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_islink_broken_link_with_trailing_sep (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_islink_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_islink_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_islink_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_islink_with_trailing_separator_linux_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_islink_with_trailing_separator_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_lchmod (pyfakefs.tests.fake_os_test.FakeOsModuleTest) lchmod shall behave like chmod with follow_symlinks=True ... ok test_lexists_broken_link_with_trailing_sep (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_lexists_with_trailing_separator_linux_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_lexists_with_trailing_separator_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_link_bogus (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_link_count1 (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Test that hard link counts are updated correctly. ... ok test_link_delete (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_link_is_existing_file (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_link_non_existent_parent (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_link_path_ending_with_sep_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_link_path_ending_with_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_link_target_is_dir_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_link_target_is_dir_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_link_to_path_ending_with_sep_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_link_to_path_ending_with_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_link_update (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_listdir (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_listdir_current (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_listdir_error (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_listdir_on_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_listdir_returns_list (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_listdir_uses_open_fd_as_path (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'file descriptor as path new in Python 3.3' test_lstat_broken_link_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_lstat_broken_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_lstat_broken_link_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_lstat_size_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_lstat_size_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_lstat_symlink_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_lstat_symlink_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_lstat_trailing_sep (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_lstat_uses_open_fd_as_path (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'file descriptor as path new in Python 3.3' test_makedirs (pyfakefs.tests.fake_os_test.FakeOsModuleTest) makedirs can create a directory even if parent does not exist. ... ok test_makedirs_broken_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_makedirs_exist_ok (pyfakefs.tests.fake_os_test.FakeOsModuleTest) makedirs uses the exist_ok argument ... skipped 'os.makedirs(exist_ok) argument new in version 3.2' test_makedirs_if_parent_is_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_makedirs_raises_if_access_denied (pyfakefs.tests.fake_os_test.FakeOsModuleTest) makedirs raises exception if access denied. ... ok test_makedirs_raises_if_parent_is_broken_link (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_makedirs_raises_if_parent_is_file_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_makedirs_raises_if_parent_is_file_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_makedirs_raises_if_parent_is_looping_link (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_makedirs_umask_applied (pyfakefs.tests.fake_os_test.FakeOsModuleTest) makedirs creates a directories with umask applied. ... ok test_mk_nod_can_create_a_file (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mk_nod_raises_if_empty_file_name (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mk_nod_raises_if_file_exists (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mk_nod_raises_if_filename_is_dot (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mk_nod_raises_if_filename_is_double_dot (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mk_nod_raises_if_parent_dir_doesnt_exist (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mkdir (pyfakefs.tests.fake_os_test.FakeOsModuleTest) mkdir can create a relative directory. ... ok test_mkdir_broken_link_with_trailing_sep_linux_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mkdir_broken_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mkdir_raises_if_directory_exists (pyfakefs.tests.fake_os_test.FakeOsModuleTest) mkdir raises exception if directory already exists. ... ok test_mkdir_raises_if_empty_directory_name (pyfakefs.tests.fake_os_test.FakeOsModuleTest) mkdir raises exeption if creating directory named ''. ... ok test_mkdir_raises_if_file_exists (pyfakefs.tests.fake_os_test.FakeOsModuleTest) mkdir raises exception if name already exists as a file. ... ok test_mkdir_raises_if_no_parent (pyfakefs.tests.fake_os_test.FakeOsModuleTest) mkdir raises exception if parent directory does not exist. ... ok test_mkdir_raises_if_parent_is_file_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mkdir_raises_if_parent_is_file_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mkdir_raises_if_parent_is_read_only (pyfakefs.tests.fake_os_test.FakeOsModuleTest) mkdir raises exception if parent is read only. ... ok test_mkdir_raises_on_symlink_in_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mkdir_raises_with_double_dots_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) mkdir raises exception if mkdir foo/foo2/../foo3. ... ok test_mkdir_raises_with_double_dots_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) mkdir raises exception if mkdir foo/foo2/../foo3. ... ok test_mkdir_raises_with_slash_dot_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) mkdir raises exception if mkdir foo/. (trailing /.). ... ok test_mkdir_raises_with_slash_dot_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) mkdir raises exception if mkdir foo/. (trailing /.). ... ok test_mkdir_removes_symlink_in_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_mkdir_umask_applied (pyfakefs.tests.fake_os_test.FakeOsModuleTest) mkdir creates a directory with umask applied. ... ok test_mkdir_with_trailing_sep (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mkdir_with_trailing_slash (pyfakefs.tests.fake_os_test.FakeOsModuleTest) mkdir can create a directory named with a trailing slash. ... ok test_mkdir_with_with_symlink_parent (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mknod_empty_tail_for_existing_file_raises (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mknod_empty_tail_for_nonexistent_file_raises (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mknod_raises_if_filename_is_empty_string (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mknod_raises_if_parent_is_not_a_directory (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mknod_raises_if_unsupported_options (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_mknod_umask_applied (pyfakefs.tests.fake_os_test.FakeOsModuleTest) mkdir creates a device with umask applied. ... ok test_nlink_for_directories (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_open_broken_symlink_to_path_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_open_broken_symlink_to_path_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_open_broken_symlink_to_path_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_open_raises_with_trailing_separator_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_open_raises_with_trailing_separator_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_open_raises_with_trailing_separator_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_open_umask_applied (pyfakefs.tests.fake_os_test.FakeOsModuleTest) open creates a file with umask applied. ... ok test_out_of_range_fdopen (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_readlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_readlink_broken_link_with_trailing_sep_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_readlink_broken_link_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_readlink_circular_link_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_readlink_circular_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_readlink_circular_link_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_readlink_ending_with_sep_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_readlink_ending_with_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_readlink_raises_if_path_does_not_exist (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_readlink_raises_if_path_has_file_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_readlink_raises_if_path_has_file_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_readlink_raises_if_path_is_none (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_readlink_raises_if_path_is_not_a_link_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_readlink_raises_if_path_is_not_a_link_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_readlink_with_chained_links_in_path (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_readlink_with_links_in_path (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_recursive_rename_raises (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_broken_link_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_broken_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_broken_link_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_remove_dir_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_dir_mac_os (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_dir_raises_error_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_dir_raises_error_mac_os (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_dir_raises_error_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_dir_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_dir_with_drive (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_dirs_with_non_top_symlink_succeeds (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_dirs_with_top_symlink_fails (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_file (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_file_no_directory (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_file_relative_path (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_file_with_read_permission_raises_in_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_file_with_read_permission_shall_succeed_in_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_file_without_parent_permission_raises_in_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_link_ending_with_sep_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_link_ending_with_sep_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_link_ending_with_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_remove_open_file_fails_under_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_open_file_possible_under_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_symlink_to_dir (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_with_trailing_separator_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_remove_with_trailing_separator_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_removedirs (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_removedirs_raises_if_cascade_removing_root (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Raises exception if asked to remove '/' as part of a ... ok test_removedirs_raises_if_removing_root (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Raises exception if asked to remove '/'. ... ok test_removedirs_with_trailing_slash (pyfakefs.tests.fake_os_test.FakeOsModuleTest) removedirs works on directory names with trailing slashes. ... ok test_rename_broken_link_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_broken_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_broken_link_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_rename_broken_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_case_with_symlink_mac (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_case_with_symlink_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_rename_dir (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Test a rename of a directory. ... ok test_rename_dir_to_symlink_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_dir_to_symlink_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_rename_dir_with_trailing_sep_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_dir_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_directory (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Can rename a directory to an unused name. ... ok test_rename_directory_to_existing_file_raises_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_directory_to_existing_file_raises_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_empty_dir (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Test a rename of an empty directory. ... ok test_rename_file_to_existing_directory_raises_under_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_file_to_parent_dir_file (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_file_to_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_link_with_trailing_sep_to_self_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_link_with_trailing_sep_to_self_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_rename_nonexistent_file_should_raise_error (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Can't rename a file that doesn't exist. ... ok test_rename_preserves_stat (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Test if rename preserves mtime. ... ok test_rename_same_filenames (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Test renaming when old and new names are the same. ... ok test_rename_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_symlink_to_dir_raises (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_symlink_to_other_case (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_symlink_to_source (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_symlink_to_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_symlink_to_symlink_for_parent_raises (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_symlink_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_symlink_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_symlink_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_rename_to_a_hardlink_of_same_file_should_do_nothing (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_to_another_device_should_raise (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Renaming to another filesystem device raises OSError. ... ok test_rename_to_existent_file_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Can rename a file to a used name under Unix. ... ok test_rename_to_existent_file_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Renaming a file to a used name raises OSError under Windows. ... ok test_rename_to_existing_dir_under_posix_raises_if_not_empty (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Renaming to an existing directory changes the existing directory ... ok test_rename_to_existing_directory_should_raise_under_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Renaming to an existing directory raises OSError under Windows. ... ok test_rename_to_existing_directory_under_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Renaming to an existing directory changes the existing directory ... ok test_rename_to_nonexistent_dir (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Can rename a file to a name in a nonexistent dir. ... ok test_rename_to_nonexistent_file (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Can rename a file to an unused name. ... ok test_rename_to_path_ending_with_sep_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_to_path_ending_with_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_with_target_parent_file_raises_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rename_with_target_parent_file_raises_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_replace_existing_directory_should_raise_under_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Renaming to an existing directory raises OSError under Windows. ... skipped 'replace is new in Python 3.3' test_replace_to_existent_file (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Replaces an existing file (does not work with `rename()` under ... skipped 'replace is new in Python 3.3' test_rmdir (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Can remove a directory. ... ok test_rmdir_link_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rmdir_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rmdir_link_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_rmdir_raises_if_not_directory_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rmdir_raises_if_not_directory_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_rmdir_raises_if_not_empty (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Raises an exception if the target directory is not empty. ... ok test_rmdir_raises_if_not_exist (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Raises an exception if the target does not exist. ... ok test_rmdir_via_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_stat (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_stat_no_follow_symlinks_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Test that stat with follow_symlinks=False behaves like lstat. ... skipped 'follow_symlinks new in Python 3.3' test_stat_no_follow_symlinks_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) Test that stat with follow_symlinks=False behaves like lstat. ... skipped 'follow_symlinks new in Python 3.3' test_stat_non_existent_file (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_stat_uses_open_fd_as_path (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'file descriptor as path new in Python 3.3' test_stat_with_trailing_separator_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_stat_with_trailing_separator_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_symlink_on_nonexisting_path_raises (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_symlink_with_path_ending_with_sep_in_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_symlink_with_path_ending_with_sep_in_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_tell_after_seek_in_append_mode (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_tell_after_seekback_in_append_mode (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_umask (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_unlink_raises_if_not_exist (pyfakefs.tests.fake_os_test.FakeOsModuleTest) ... ok test_change_case_in_case_insensitive_file_system (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) Can use `rename()` to change filename case in a case-insensitive ... ok test_chdir_fails_non_directory (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) chdir should raise OSError if the target is not a directory. ... ok test_chmod (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_fdopen_mode (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_fsync_pass (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_hardlink_works_with_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_link_delete (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_link_is_broken_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_link_is_existing_file (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_link_with_changed_case (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_listdir_on_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_listdir_returns_list (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_lstat_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_makedirs (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) makedirs can create a directory even if parent does not exist. ... ok test_makedirs_exist_ok (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) makedirs uses the exist_ok argument ... skipped 'os.makedirs(exist_ok) argument new in version 3.2' test_makedirs_raises_if_parent_is_broken_link (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_makedirs_raises_if_parent_is_file_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_makedirs_raises_if_parent_is_file_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_mkdir_raises_if_directory_exists (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) mkdir raises exception if directory already exists. ... ok test_mkdir_raises_if_file_exists (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) mkdir raises exception if name already exists as a file. ... ok test_mkdir_raises_if_parent_is_file_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_mkdir_raises_if_parent_is_file_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_mkdir_raises_if_symlink_exists (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_mkdir_raises_on_symlink_in_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_mkdir_removes_symlink_in_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_readlink (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_readlink_raises_if_path_has_file_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_readlink_raises_if_path_has_file_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_readlink_raises_if_path_not_a_link_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_readlink_raises_if_path_not_a_link_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_readlink_with_chained_links_in_path (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_readlink_with_links_in_path (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_recursive_rename_raises (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_remove_dir_mac_os (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_remove_dir_raises_error_mac_os (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_remove_dir_raises_error_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_remove_dir_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_remove_dirs_with_non_top_symlink_succeeds (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_remove_file (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_remove_file_no_directory (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_remove_file_relative_path (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_remove_open_file_fails_under_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_remove_open_file_possible_under_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_remove_symlink_to_dir (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_broken_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_case_only_with_symlink_parent_macos (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_case_only_with_symlink_parent_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_rename_dir (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) Test a rename of a directory. ... ok test_rename_dir_to_existing_dir (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_dir_to_symlink_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_dir_to_symlink_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_rename_directory (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) Can rename a directory to an unused name. ... ok test_rename_directory_to_existing_file_raises_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_directory_to_existing_file_raises_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_directory_to_linked_dir (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_file_to_existing_directory_raises_under_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_file_to_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_looping_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_same_filenames (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) Test renaming when old and new names are the same. ... ok test_rename_symlink_to_dir_raises (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_symlink_to_other_case_does_nothing_in_mac_os (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_symlink_to_other_case_works_in_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_rename_symlink_to_source (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_symlink_to_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_symlink_to_symlink_for_parent_raises (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_symlink_with_changed_case (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_to_a_hardlink_of_same_file_should_do_nothing (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_to_existent_file_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) Can rename a file to a used name under Unix. ... ok test_rename_to_existent_file_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) Renaming a file to a used name raises OSError under Windows. ... ok test_rename_to_existing_directory_should_raise_under_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) Renaming to an existing directory raises OSError under Windows. ... ok test_rename_to_existing_directory_under_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) Renaming to an existing directory changes the existing directory ... ok test_rename_to_nonexistent_dir (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) Can rename a file to a name in a nonexistent dir. ... ok test_rename_with_incorrect_source_case (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_with_target_parent_file_raises_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_rename_with_target_parent_file_raises_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_replace_existing_directory_should_raise_under_windows (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) Renaming to an existing directory raises OSError under Windows. ... skipped 'replace is new in Python 3.3' test_replace_to_existent_file (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) Replaces an existing file (does not work with `rename()` under ... skipped 'replace is new in Python 3.3' test_rmdir (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) Can remove a directory. ... ok test_rmdir_via_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... skipped 'Symlinks are not supported under Windows before Python 3.3' test_stat (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_stat_no_follow_symlinks_posix (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) Test that stat with follow_symlinks=False behaves like lstat. ... skipped 'follow_symlinks new in Python 3.3' test_stat_with_mixed_case (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_symlink (pyfakefs.tests.fake_os_test.FakeOsModuleTestCaseInsensitiveFS) ... ok test_chmod_st_ctime (pyfakefs.tests.fake_os_test.FakeOsModuleTimeTest) ... ok test_utime_dir (pyfakefs.tests.fake_os_test.FakeOsModuleTimeTest) ... ok test_utime_follow_symlinks (pyfakefs.tests.fake_os_test.FakeOsModuleTimeTest) ... skipped 'follow_symlinks new in Python 3.3' test_utime_incorrect_ns_argument_raises (pyfakefs.tests.fake_os_test.FakeOsModuleTimeTest) ... skipped 'ns new in Python 3.3' test_utime_invalid_times_arg_raises (pyfakefs.tests.fake_os_test.FakeOsModuleTimeTest) ... ok test_utime_no_follow_symlinks (pyfakefs.tests.fake_os_test.FakeOsModuleTimeTest) ... skipped 'follow_symlinks new in Python 3.3' test_utime_non_existent (pyfakefs.tests.fake_os_test.FakeOsModuleTimeTest) ... ok test_utime_sets_current_time_if_args_is_none (pyfakefs.tests.fake_os_test.FakeOsModuleTimeTest) ... ok test_utime_sets_current_time_if_args_is_none_with_floats (pyfakefs.tests.fake_os_test.FakeOsModuleTimeTest) ... ok test_utime_sets_current_time_if_args_is_none_with_floats_n_sec (pyfakefs.tests.fake_os_test.FakeOsModuleTimeTest) ... ok test_utime_sets_specified_time (pyfakefs.tests.fake_os_test.FakeOsModuleTimeTest) ... ok test_utime_sets_specified_time_in_ns (pyfakefs.tests.fake_os_test.FakeOsModuleTimeTest) ... skipped 'ns new in Python 3.3' test_utime_uses_open_fd_as_path (pyfakefs.tests.fake_os_test.FakeOsModuleTimeTest) ... skipped 'file descriptor as path new in Python 3.3' test_walk_bottom_up (pyfakefs.tests.fake_os_test.FakeOsModuleWalkTest) Walk up ordering is correct. ... ok test_walk_calls_on_error_if_non_existent (pyfakefs.tests.fake_os_test.FakeOsModuleWalkTest) Calls onerror with correct errno when walking ... ok test_walk_calls_on_error_if_not_directory (pyfakefs.tests.fake_os_test.FakeOsModuleWalkTest) Calls onerror with correct errno when walking non-directory. ... ok test_walk_followsymlink_disabled (pyfakefs.tests.fake_os_test.FakeOsModuleWalkTest) ... ok test_walk_followsymlink_enabled (pyfakefs.tests.fake_os_test.FakeOsModuleWalkTest) ... ok test_walk_raises_if_non_existent (pyfakefs.tests.fake_os_test.FakeOsModuleWalkTest) Raises an exception when attempting to walk ... ok test_walk_raises_if_not_directory (pyfakefs.tests.fake_os_test.FakeOsModuleWalkTest) Raises an exception when attempting to walk a non-directory. ... ok test_walk_skips_removed_directories (pyfakefs.tests.fake_os_test.FakeOsModuleWalkTest) Caller can modify list of directories to visit while walking. ... ok test_walk_top_down (pyfakefs.tests.fake_os_test.FakeOsModuleWalkTest) Walk down ordering is correct. ... ok test_index_access_to_stat_times_returns_int (pyfakefs.tests.fake_os_test.FakeScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_inode (pyfakefs.tests.fake_os_test.FakeScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_is_link (pyfakefs.tests.fake_os_test.FakeScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_isdir (pyfakefs.tests.fake_os_test.FakeScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_isfile (pyfakefs.tests.fake_os_test.FakeScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_path_links_not_resolved (pyfakefs.tests.fake_os_test.FakeScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_paths (pyfakefs.tests.fake_os_test.FakeScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_stat_ino_dev (pyfakefs.tests.fake_os_test.FakeScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_stat_posix (pyfakefs.tests.fake_os_test.FakeScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_stat_windows (pyfakefs.tests.fake_os_test.FakeScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_index_access_to_stat_times_returns_int (pyfakefs.tests.fake_os_test.FakeScandirTest) ... ok test_inode (pyfakefs.tests.fake_os_test.FakeScandirTest) ... ok test_is_link (pyfakefs.tests.fake_os_test.FakeScandirTest) ... ok test_isdir (pyfakefs.tests.fake_os_test.FakeScandirTest) ... ok test_isfile (pyfakefs.tests.fake_os_test.FakeScandirTest) ... ok test_path_links_not_resolved (pyfakefs.tests.fake_os_test.FakeScandirTest) ... skipped 'os.scandir not found' test_paths (pyfakefs.tests.fake_os_test.FakeScandirTest) ... ok test_stat_ino_dev (pyfakefs.tests.fake_os_test.FakeScandirTest) ... ok test_stat_posix (pyfakefs.tests.fake_os_test.FakeScandirTest) ... ok test_stat_windows (pyfakefs.tests.fake_os_test.FakeScandirTest) ... skipped 'Windows specific behavior' testOpenCreateMode444Windows (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Testing Windows specific functionality' testOpenCreateMode666Windows (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Testing Windows specific functionality' test_can_read_after_create_exclusive (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_exclusive_open_raises_without_create_mode (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Only tests fake FS' test_open_append (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_create (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_create_is_read_only (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_create_mode_posix (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_create_mode_windows (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Testing Windows specific functionality' test_open_create_truncate_is_read_only (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_directory_for_writing_raises_under_posix (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_directory_raises_under_windows (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Testing Windows specific functionality' test_open_directory_read_only_under_posix (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Only tests fake FS' test_open_exclusive (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Exclusive mode new in Python 3.3' test_open_exclusive_if_symlink_exists_works_in_windows (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Exclusive mode new in Python 3.3' test_open_exclusive_raises_if_file_exists (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Exclusive mode new in Python 3.3' test_open_exclusive_raises_if_symlink_exists_in_posix (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Exclusive mode new in Python 3.3' test_open_mode_posix (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Only tests fake FS' test_open_mode_windows (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Testing Windows specific functionality' test_open_raises_if_does_not_exist (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_raises_if_parent_does_not_exist (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_read_only (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_read_only_write_zero_bytes_posix (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_read_only_write_zero_bytes_windows (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Testing Windows specific functionality' test_open_read_write (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_truncate (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_write_only (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_write_only_raises_on_read (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_write_only_read_zero_bytes_posix (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_open_write_only_read_zero_bytes_windows (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Testing Windows specific functionality' test_opening_existing_directory_in_creation_mode (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_opening_existing_directory_in_write_mode (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_read_after_closing_write_descriptor (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_read_only_read_after_write (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_temp_file (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'O_TEMPORARY only present in Windows' test_write_from_different_f_ds (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_write_from_different_fds_with_append (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_write_read (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_writing_behind_end_of_file (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... ok test_writing_to_existing_directory (pyfakefs.tests.fake_os_test.RealOsModuleLowLevelFileOpTest) ... skipped 'Testing MacOS specific functionality' test_access400 (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_access600 (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_access700 (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_access_non_existent_file (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_access_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'follow_symlinks new in Python 3.3' test_append_mode_tell_linux_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_append_mode_tell_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_backwards_chdir (pyfakefs.tests.fake_os_test.RealOsModuleTest) chdir into '..' should behave appropriately. ... skipped 'Only tests fake FS' test_broken_symlink_with_trailing_sep_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_broken_symlink_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_broken_symlink_with_trailing_separator_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_broken_symlink_with_trailing_separator_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_broken_symlink_with_trailing_separator_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_chdir (pyfakefs.tests.fake_os_test.RealOsModuleTest) chdir should work on a directory. ... ok test_chdir_fails_non_directory (pyfakefs.tests.fake_os_test.RealOsModuleTest) chdir should raise OSError if the target is not a directory. ... ok test_chdir_fails_non_exist (pyfakefs.tests.fake_os_test.RealOsModuleTest) chdir should raise OSError if the target does not exist. ... ok test_chmod (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Only tests fake FS' test_chmod_dir (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Only tests fake FS' test_chmod_follow_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'follow_symlinks new in Python 3.3' test_chmod_no_follow_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'follow_symlinks new in Python 3.3' test_chmod_non_existent (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_chmod_uses_open_fd_as_path (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'file descriptor as path new in Python 3.3' test_chown_bad_arguments (pyfakefs.tests.fake_os_test.RealOsModuleTest) os.chown() with bad args (Issue #30) ... ok test_chown_existing_file (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Only tests fake FS' test_chown_follow_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'follow_symlinks new in Python 3.3' test_chown_no_follow_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'follow_symlinks new in Python 3.3' test_chown_nonexisting_file_should_raise_os_error (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_chown_uses_open_fd_as_path (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'file descriptor as path new in Python 3.3' test_circular_readlink_with_trailing_separator_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_circular_readlink_with_trailing_separator_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_circular_readlink_with_trailing_separator_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_classify_directory_contents (pyfakefs.tests.fake_os_test.RealOsModuleTest) Directory classification should work correctly. ... ok test_closed_file_descriptor (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Skipping because FakeFS does not match real FS' test_consecutive_chdir (pyfakefs.tests.fake_os_test.RealOsModuleTest) Consecutive relative chdir calls should work. ... ok test_dir_with_trailing_sep_is_dir (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_exists_current_dir (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_exists_with_trailing_sep (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_fdatasync_pass (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_fdatasync_raises_on_invalid_fd (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_fdatasync_raises_on_non_int (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_fdopen (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Skipping because FakeFS does not match real FS' test_fdopen_mode (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Only tests fake FS' test_fstat (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_fsync_pass_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_fsync_pass_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_fsync_raises_on_invalid_fd (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_fsync_raises_on_non_int (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_get_cwd (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Only tests fake FS' test_getsize_raises_with_trailing_separator_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_getsize_raises_with_trailing_separator_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_hardlink_works_with_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_isfile_with_trailing_separator_linux_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_isfile_with_trailing_separator_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_islink_broken_link_with_trailing_sep (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_islink_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_islink_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_islink_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_islink_with_trailing_separator_linux_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_islink_with_trailing_separator_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_lchmod (pyfakefs.tests.fake_os_test.RealOsModuleTest) lchmod shall behave like chmod with follow_symlinks=True ... skipped 'Only tests fake FS' test_lexists_broken_link_with_trailing_sep (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_lexists_with_trailing_separator_linux_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_lexists_with_trailing_separator_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_link_bogus (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_link_count1 (pyfakefs.tests.fake_os_test.RealOsModuleTest) Test that hard link counts are updated correctly. ... ok test_link_delete (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_link_is_existing_file (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_link_non_existent_parent (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_link_path_ending_with_sep_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_link_path_ending_with_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_link_target_is_dir_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_link_target_is_dir_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_link_to_path_ending_with_sep_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_link_to_path_ending_with_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_link_update (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_listdir (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_listdir_current (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_listdir_error (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_listdir_on_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_listdir_returns_list (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_listdir_uses_open_fd_as_path (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'file descriptor as path new in Python 3.3' test_lstat_broken_link_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_lstat_broken_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_lstat_broken_link_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_lstat_size_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_lstat_size_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_lstat_symlink_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_lstat_symlink_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_lstat_trailing_sep (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_lstat_uses_open_fd_as_path (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'file descriptor as path new in Python 3.3' test_makedirs (pyfakefs.tests.fake_os_test.RealOsModuleTest) makedirs can create a directory even if parent does not exist. ... ok test_makedirs_broken_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_makedirs_exist_ok (pyfakefs.tests.fake_os_test.RealOsModuleTest) makedirs uses the exist_ok argument ... skipped 'os.makedirs(exist_ok) argument new in version 3.2' test_makedirs_if_parent_is_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_makedirs_raises_if_access_denied (pyfakefs.tests.fake_os_test.RealOsModuleTest) makedirs raises exception if access denied. ... ok test_makedirs_raises_if_parent_is_broken_link (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_makedirs_raises_if_parent_is_file_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_makedirs_raises_if_parent_is_file_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_makedirs_raises_if_parent_is_looping_link (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_makedirs_umask_applied (pyfakefs.tests.fake_os_test.RealOsModuleTest) makedirs creates a directories with umask applied. ... ok test_mk_nod_can_create_a_file (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mk_nod_raises_if_empty_file_name (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mk_nod_raises_if_file_exists (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mk_nod_raises_if_filename_is_dot (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mk_nod_raises_if_filename_is_double_dot (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mk_nod_raises_if_parent_dir_doesnt_exist (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mkdir (pyfakefs.tests.fake_os_test.RealOsModuleTest) mkdir can create a relative directory. ... skipped 'Only tests fake FS' test_mkdir_broken_link_with_trailing_sep_linux_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mkdir_broken_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_mkdir_raises_if_directory_exists (pyfakefs.tests.fake_os_test.RealOsModuleTest) mkdir raises exception if directory already exists. ... ok test_mkdir_raises_if_empty_directory_name (pyfakefs.tests.fake_os_test.RealOsModuleTest) mkdir raises exeption if creating directory named ''. ... ok test_mkdir_raises_if_file_exists (pyfakefs.tests.fake_os_test.RealOsModuleTest) mkdir raises exception if name already exists as a file. ... ok test_mkdir_raises_if_no_parent (pyfakefs.tests.fake_os_test.RealOsModuleTest) mkdir raises exception if parent directory does not exist. ... ok test_mkdir_raises_if_parent_is_file_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mkdir_raises_if_parent_is_file_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_mkdir_raises_if_parent_is_read_only (pyfakefs.tests.fake_os_test.RealOsModuleTest) mkdir raises exception if parent is read only. ... ok test_mkdir_raises_on_symlink_in_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mkdir_raises_with_double_dots_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) mkdir raises exception if mkdir foo/foo2/../foo3. ... ok test_mkdir_raises_with_double_dots_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) mkdir raises exception if mkdir foo/foo2/../foo3. ... skipped 'Testing Windows specific functionality' test_mkdir_raises_with_slash_dot_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) mkdir raises exception if mkdir foo/. (trailing /.). ... ok test_mkdir_raises_with_slash_dot_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) mkdir raises exception if mkdir foo/. (trailing /.). ... skipped 'Testing Windows specific functionality' test_mkdir_removes_symlink_in_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_mkdir_umask_applied (pyfakefs.tests.fake_os_test.RealOsModuleTest) mkdir creates a directory with umask applied. ... ok test_mkdir_with_trailing_sep (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mkdir_with_trailing_slash (pyfakefs.tests.fake_os_test.RealOsModuleTest) mkdir can create a directory named with a trailing slash. ... ok test_mkdir_with_with_symlink_parent (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mknod_empty_tail_for_existing_file_raises (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mknod_empty_tail_for_nonexistent_file_raises (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mknod_raises_if_filename_is_empty_string (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mknod_raises_if_parent_is_not_a_directory (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mknod_raises_if_unsupported_options (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_mknod_umask_applied (pyfakefs.tests.fake_os_test.RealOsModuleTest) mkdir creates a device with umask applied. ... ok test_nlink_for_directories (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Only tests fake FS' test_open_broken_symlink_to_path_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_open_broken_symlink_to_path_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_open_broken_symlink_to_path_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_open_raises_with_trailing_separator_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_open_raises_with_trailing_separator_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_open_raises_with_trailing_separator_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_open_umask_applied (pyfakefs.tests.fake_os_test.RealOsModuleTest) open creates a file with umask applied. ... ok test_out_of_range_fdopen (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_readlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_readlink_broken_link_with_trailing_sep_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_readlink_broken_link_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_readlink_circular_link_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_readlink_circular_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_readlink_circular_link_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_readlink_ending_with_sep_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_readlink_ending_with_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_readlink_raises_if_path_does_not_exist (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_readlink_raises_if_path_has_file_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_readlink_raises_if_path_has_file_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_readlink_raises_if_path_is_none (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_readlink_raises_if_path_is_not_a_link_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_readlink_raises_if_path_is_not_a_link_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_readlink_with_chained_links_in_path (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_readlink_with_links_in_path (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_recursive_rename_raises (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_broken_link_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_broken_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_remove_broken_link_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_remove_dir_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_dir_mac_os (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_remove_dir_raises_error_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_dir_raises_error_mac_os (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_remove_dir_raises_error_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_remove_dir_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_remove_dir_with_drive (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_remove_dirs_with_non_top_symlink_succeeds (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_dirs_with_top_symlink_fails (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_file (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_file_no_directory (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_file_relative_path (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Only tests fake FS' test_remove_file_with_read_permission_raises_in_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_remove_file_with_read_permission_shall_succeed_in_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_file_without_parent_permission_raises_in_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_link_ending_with_sep_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_link_ending_with_sep_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_remove_link_ending_with_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_remove_open_file_fails_under_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_remove_open_file_possible_under_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_symlink_to_dir (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_with_trailing_separator_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_remove_with_trailing_separator_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_removedirs (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Only tests fake FS' test_removedirs_raises_if_cascade_removing_root (pyfakefs.tests.fake_os_test.RealOsModuleTest) Raises exception if asked to remove '/' as part of a ... skipped 'Only tests fake FS' test_removedirs_raises_if_removing_root (pyfakefs.tests.fake_os_test.RealOsModuleTest) Raises exception if asked to remove '/'. ... skipped 'Only tests fake FS' test_removedirs_with_trailing_slash (pyfakefs.tests.fake_os_test.RealOsModuleTest) removedirs works on directory names with trailing slashes. ... ok test_rename_broken_link_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_broken_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_rename_broken_link_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_rename_broken_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_case_with_symlink_mac (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_rename_case_with_symlink_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_rename_dir (pyfakefs.tests.fake_os_test.RealOsModuleTest) Test a rename of a directory. ... ok test_rename_dir_to_symlink_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_dir_to_symlink_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_rename_dir_with_trailing_sep_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_dir_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_rename_directory (pyfakefs.tests.fake_os_test.RealOsModuleTest) Can rename a directory to an unused name. ... ok test_rename_directory_to_existing_file_raises_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_directory_to_existing_file_raises_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_rename_empty_dir (pyfakefs.tests.fake_os_test.RealOsModuleTest) Test a rename of an empty directory. ... ok test_rename_file_to_existing_directory_raises_under_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_file_to_parent_dir_file (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_file_to_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_link_with_trailing_sep_to_self_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_link_with_trailing_sep_to_self_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_rename_nonexistent_file_should_raise_error (pyfakefs.tests.fake_os_test.RealOsModuleTest) Can't rename a file that doesn't exist. ... ok test_rename_preserves_stat (pyfakefs.tests.fake_os_test.RealOsModuleTest) Test if rename preserves mtime. ... skipped 'Only tests fake FS' test_rename_same_filenames (pyfakefs.tests.fake_os_test.RealOsModuleTest) Test renaming when old and new names are the same. ... ok test_rename_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_symlink_to_dir_raises (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_symlink_to_other_case (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_symlink_to_source (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_symlink_to_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_symlink_to_symlink_for_parent_raises (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_symlink_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_symlink_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_rename_symlink_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_rename_to_a_hardlink_of_same_file_should_do_nothing (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Skipping because FakeFS does not match real FS' test_rename_to_another_device_should_raise (pyfakefs.tests.fake_os_test.RealOsModuleTest) Renaming to another filesystem device raises OSError. ... skipped 'Only tests fake FS' test_rename_to_existent_file_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) Can rename a file to a used name under Unix. ... ok test_rename_to_existent_file_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) Renaming a file to a used name raises OSError under Windows. ... skipped 'Testing Windows specific functionality' test_rename_to_existing_dir_under_posix_raises_if_not_empty (pyfakefs.tests.fake_os_test.RealOsModuleTest) Renaming to an existing directory changes the existing directory ... ok test_rename_to_existing_directory_should_raise_under_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) Renaming to an existing directory raises OSError under Windows. ... skipped 'Testing Windows specific functionality' test_rename_to_existing_directory_under_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) Renaming to an existing directory changes the existing directory ... ok test_rename_to_nonexistent_dir (pyfakefs.tests.fake_os_test.RealOsModuleTest) Can rename a file to a name in a nonexistent dir. ... ok test_rename_to_nonexistent_file (pyfakefs.tests.fake_os_test.RealOsModuleTest) Can rename a file to an unused name. ... ok test_rename_to_path_ending_with_sep_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_to_path_ending_with_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_rename_with_target_parent_file_raises_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rename_with_target_parent_file_raises_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_replace_existing_directory_should_raise_under_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) Renaming to an existing directory raises OSError under Windows. ... skipped 'replace is new in Python 3.3' test_replace_to_existent_file (pyfakefs.tests.fake_os_test.RealOsModuleTest) Replaces an existing file (does not work with `rename()` under ... skipped 'replace is new in Python 3.3' test_rmdir (pyfakefs.tests.fake_os_test.RealOsModuleTest) Can remove a directory. ... ok test_rmdir_link_with_trailing_sep_linux (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rmdir_link_with_trailing_sep_macos (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing MacOS specific functionality' test_rmdir_link_with_trailing_sep_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_rmdir_raises_if_not_directory_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_rmdir_raises_if_not_directory_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_rmdir_raises_if_not_empty (pyfakefs.tests.fake_os_test.RealOsModuleTest) Raises an exception if the target directory is not empty. ... ok test_rmdir_raises_if_not_exist (pyfakefs.tests.fake_os_test.RealOsModuleTest) Raises an exception if the target does not exist. ... ok test_rmdir_via_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_stat (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_stat_no_follow_symlinks_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) Test that stat with follow_symlinks=False behaves like lstat. ... skipped 'follow_symlinks new in Python 3.3' test_stat_no_follow_symlinks_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) Test that stat with follow_symlinks=False behaves like lstat. ... skipped 'follow_symlinks new in Python 3.3' test_stat_non_existent_file (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_stat_uses_open_fd_as_path (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'file descriptor as path new in Python 3.3' test_stat_with_trailing_separator_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_stat_with_trailing_separator_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_symlink_on_nonexisting_path_raises (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_symlink_with_path_ending_with_sep_in_posix (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_symlink_with_path_ending_with_sep_in_windows (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... skipped 'Testing Windows specific functionality' test_tell_after_seek_in_append_mode (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_tell_after_seekback_in_append_mode (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_umask (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_unlink_raises_if_not_exist (pyfakefs.tests.fake_os_test.RealOsModuleTest) ... ok test_change_case_in_case_insensitive_file_system (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) Can use `rename()` to change filename case in a case-insensitive ... skipped 'Testing case insensitive specific functionality' test_chdir_fails_non_directory (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) chdir should raise OSError if the target is not a directory. ... skipped 'Testing case insensitive specific functionality' test_chmod (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_fdopen_mode (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_fsync_pass (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_hardlink_works_with_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_link_delete (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_link_is_broken_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_link_is_existing_file (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_link_with_changed_case (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_listdir_on_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_listdir_returns_list (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_lstat_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_makedirs (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) makedirs can create a directory even if parent does not exist. ... skipped 'Testing case insensitive specific functionality' test_makedirs_exist_ok (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) makedirs uses the exist_ok argument ... skipped 'os.makedirs(exist_ok) argument new in version 3.2' test_makedirs_raises_if_parent_is_broken_link (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_makedirs_raises_if_parent_is_file_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_makedirs_raises_if_parent_is_file_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_mkdir_raises_if_directory_exists (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) mkdir raises exception if directory already exists. ... skipped 'Testing case insensitive specific functionality' test_mkdir_raises_if_file_exists (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) mkdir raises exception if name already exists as a file. ... skipped 'Testing case insensitive specific functionality' test_mkdir_raises_if_parent_is_file_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_mkdir_raises_if_parent_is_file_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_mkdir_raises_if_symlink_exists (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_mkdir_raises_on_symlink_in_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_mkdir_removes_symlink_in_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_readlink (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_readlink_raises_if_path_has_file_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_readlink_raises_if_path_has_file_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_readlink_raises_if_path_not_a_link_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_readlink_raises_if_path_not_a_link_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_readlink_with_chained_links_in_path (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_readlink_with_links_in_path (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_recursive_rename_raises (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_remove_dir_mac_os (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_remove_dir_raises_error_mac_os (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_remove_dir_raises_error_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_remove_dir_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_remove_dirs_with_non_top_symlink_succeeds (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_remove_file (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_remove_file_no_directory (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_remove_file_relative_path (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_remove_open_file_fails_under_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_remove_open_file_possible_under_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_remove_symlink_to_dir (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_broken_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_case_only_with_symlink_parent_macos (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_case_only_with_symlink_parent_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_dir (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) Test a rename of a directory. ... skipped 'Testing case insensitive specific functionality' test_rename_dir_to_existing_dir (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_dir_to_symlink_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_dir_to_symlink_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_directory (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) Can rename a directory to an unused name. ... skipped 'Testing case insensitive specific functionality' test_rename_directory_to_existing_file_raises_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_directory_to_existing_file_raises_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_directory_to_linked_dir (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_file_to_existing_directory_raises_under_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_file_to_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_looping_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_same_filenames (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) Test renaming when old and new names are the same. ... skipped 'Testing case insensitive specific functionality' test_rename_symlink_to_dir_raises (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_symlink_to_other_case_does_nothing_in_mac_os (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_symlink_to_other_case_works_in_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_symlink_to_source (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_symlink_to_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_symlink_to_symlink_for_parent_raises (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_symlink_with_changed_case (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_to_a_hardlink_of_same_file_should_do_nothing (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_to_existent_file_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) Can rename a file to a used name under Unix. ... skipped 'Testing case insensitive specific functionality' test_rename_to_existent_file_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) Renaming a file to a used name raises OSError under Windows. ... skipped 'Testing case insensitive specific functionality' test_rename_to_existing_directory_should_raise_under_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) Renaming to an existing directory raises OSError under Windows. ... skipped 'Testing case insensitive specific functionality' test_rename_to_existing_directory_under_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) Renaming to an existing directory changes the existing directory ... skipped 'Testing case insensitive specific functionality' test_rename_to_nonexistent_dir (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) Can rename a file to a name in a nonexistent dir. ... skipped 'Testing case insensitive specific functionality' test_rename_with_incorrect_source_case (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_with_target_parent_file_raises_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_rename_with_target_parent_file_raises_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_replace_existing_directory_should_raise_under_windows (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) Renaming to an existing directory raises OSError under Windows. ... skipped 'replace is new in Python 3.3' test_replace_to_existent_file (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) Replaces an existing file (does not work with `rename()` under ... skipped 'replace is new in Python 3.3' test_rmdir (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) Can remove a directory. ... skipped 'Testing case insensitive specific functionality' test_rmdir_via_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_stat (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_stat_no_follow_symlinks_posix (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) Test that stat with follow_symlinks=False behaves like lstat. ... skipped 'follow_symlinks new in Python 3.3' test_stat_with_mixed_case (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_symlink (pyfakefs.tests.fake_os_test.RealOsModuleTestCaseInsensitiveFS) ... skipped 'Testing case insensitive specific functionality' test_walk_bottom_up (pyfakefs.tests.fake_os_test.RealOsModuleWalkTest) Walk up ordering is correct. ... ok test_walk_calls_on_error_if_non_existent (pyfakefs.tests.fake_os_test.RealOsModuleWalkTest) Calls onerror with correct errno when walking ... ok test_walk_calls_on_error_if_not_directory (pyfakefs.tests.fake_os_test.RealOsModuleWalkTest) Calls onerror with correct errno when walking non-directory. ... ok test_walk_followsymlink_disabled (pyfakefs.tests.fake_os_test.RealOsModuleWalkTest) ... ok test_walk_followsymlink_enabled (pyfakefs.tests.fake_os_test.RealOsModuleWalkTest) ... ok test_walk_raises_if_non_existent (pyfakefs.tests.fake_os_test.RealOsModuleWalkTest) Raises an exception when attempting to walk ... ok test_walk_raises_if_not_directory (pyfakefs.tests.fake_os_test.RealOsModuleWalkTest) Raises an exception when attempting to walk a non-directory. ... ok test_walk_skips_removed_directories (pyfakefs.tests.fake_os_test.RealOsModuleWalkTest) Caller can modify list of directories to visit while walking. ... ok test_walk_top_down (pyfakefs.tests.fake_os_test.RealOsModuleWalkTest) Walk down ordering is correct. ... ok test_index_access_to_stat_times_returns_int (pyfakefs.tests.fake_os_test.RealScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_inode (pyfakefs.tests.fake_os_test.RealScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_is_link (pyfakefs.tests.fake_os_test.RealScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_isdir (pyfakefs.tests.fake_os_test.RealScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_isfile (pyfakefs.tests.fake_os_test.RealScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_path_links_not_resolved (pyfakefs.tests.fake_os_test.RealScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_paths (pyfakefs.tests.fake_os_test.RealScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_stat_ino_dev (pyfakefs.tests.fake_os_test.RealScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_stat_posix (pyfakefs.tests.fake_os_test.RealScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_stat_windows (pyfakefs.tests.fake_os_test.RealScandirFdTest) ... skipped 'dir_fd support for os.scandir was introduced in Python 3.7' test_index_access_to_stat_times_returns_int (pyfakefs.tests.fake_os_test.RealScandirTest) ... ok test_inode (pyfakefs.tests.fake_os_test.RealScandirTest) ... ok test_is_link (pyfakefs.tests.fake_os_test.RealScandirTest) ... ok test_isdir (pyfakefs.tests.fake_os_test.RealScandirTest) ... ok test_isfile (pyfakefs.tests.fake_os_test.RealScandirTest) ... ok test_path_links_not_resolved (pyfakefs.tests.fake_os_test.RealScandirTest) ... skipped 'os.scandir not found' test_paths (pyfakefs.tests.fake_os_test.RealScandirTest) ... skipped 'Only tests fake FS' test_stat_ino_dev (pyfakefs.tests.fake_os_test.RealScandirTest) ... ok test_stat_posix (pyfakefs.tests.fake_os_test.RealScandirTest) ... ok test_stat_windows (pyfakefs.tests.fake_os_test.RealScandirTest) ... skipped 'Windows specific behavior' test_file_size_after_write (pyfakefs.tests.fake_os_test.StatPropagationTest) ... ok test_file_size_not_reset_after_close (pyfakefs.tests.fake_os_test.StatPropagationTest) ... ok test_file_size_truncation (pyfakefs.tests.fake_os_test.StatPropagationTest) test that file size gets updated via open(). ... ok test_file_size_updated_via_close (pyfakefs.tests.fake_os_test.StatPropagationTest) test that file size gets updated via close(). ... ok test_file_size_updated_via_flush (pyfakefs.tests.fake_os_test.StatPropagationTest) test that file size gets updated via flush(). ... ok test_large_file_size_after_write (pyfakefs.tests.fake_os_test.StatPropagationTest) ... ok test_binary_readline (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingTest) ... ok test_read_python2_default_newline_mode_posix (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingTest) ... ok test_read_python2_default_newline_mode_windows (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingTest) ... ok test_read_universal_newline_mode (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingTest) ... ok test_read_with_ignored_universal_newlines_flag (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingTest) ... skipped 'newline argument only available since Python 3' test_read_with_newline_arg (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingTest) ... skipped 'newline argument only available since Python 3' test_readlines_with_newline_arg (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingTest) ... skipped 'newline argument only available since Python 3' test_write_universal_newline_mode (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingTest) ... ok test_write_with_newline_arg (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingTest) ... skipped 'newline argument only available since Python 3' test_read_python2_default_newline_mode (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingWithEncodingTest) ... ok test_read_universal_newline_mode (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingWithEncodingTest) ... ok test_read_with_newline_arg (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingWithEncodingTest) ... skipped 'newline argument only available since Python 3' test_readlines_with_newline_arg (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingWithEncodingTest) ... skipped 'newline argument only available since Python 3' test_write_universal_newline_mode (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingWithEncodingTest) ... ok test_write_with_newline_arg (pyfakefs.tests.fake_open_test.FakeFileOpenLineEndingWithEncodingTest) ... skipped 'newline argument only available since Python 3' test_accessing_closed_file_raises (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_accessing_open_file_with_another_handle_raises (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_append_existing_file (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_append_with_aplus_linux_windows (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_append_with_aplus_mac_os (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_append_with_aplus_read_with_loop (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_byte_contents (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_byte_contents_py2 (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_byte_contents_py3 (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... skipped 'Python3 specific string handling' test_byte_filename (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_can_read_from_block_device (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_closed (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_closing_closed_file_does_nothing (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_closing_file_with_different_close_mode (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... skipped 'closefd argument not available in Python2' test_compatibility_of_with_statement (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_create_file_with_append (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_create_file_with_write (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_delete_on_close (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_exclusive_create_binary_file (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... skipped 'Exclusive mode new in Python 3.3' test_exclusive_create_file (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... skipped 'Exclusive mode new in Python 3.3' test_exclusive_create_file_failure (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... skipped 'Exclusive mode new in Python 3.3' test_exclusive_mode_not_valid_in_python2 (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_file_descriptors_for_different_files (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_file_descriptors_for_the_same_file_are_different (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_follow_intra_path_link_write (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_follow_link_read (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_follow_link_write (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_getsize_after_truncate (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_intertwined_read_write (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_intertwined_read_write_python3_str (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... skipped 'Python 3 specific string handling' test_iterate_over_file (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_next_raises_on_closed_file (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_no_delete_on_close_by_default (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_directory_error (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_flags100 (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_flags200 (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_flags400 (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_flags700 (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_io_errors (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_no_parent_dir (pyfakefs.tests.fake_open_test.FakeFileOpenTest) Expect raise when opening a file in a missing directory. ... ok test_open_raises_io_error_if_parent_is_file_posix (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_raises_io_error_if_parent_is_file_windows (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_raises_on_symlink_loop (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_st_ctime (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_valid_args (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_valid_file (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_valid_file_with_cwd (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_with_append_flag (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_with_trailing_sep_linux (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_with_trailing_sep_macos (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_with_trailing_sep_windows (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_with_wplus (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_open_with_wplus_truncation (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_overwrite_existing_file (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_read_empty_file_with_aplus (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_read_flushes_under_posix (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_read_flushes_under_windows_in_python3 (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_read_with_rplus (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_reused_file_descriptors_do_not_affect_others (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_seek_flushes (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_seek_outside_and_truncate_sets_size_in_append_mode (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_seek_outside_and_truncate_sets_size_in_write_mode (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_st_size_after_truncate (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_tell_flushes_in_python3 (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_tell_flushes_under_mac_os (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_that_read_over_end_does_not_reset_position (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_truncate_flushes (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_truncate_flushes_contents (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_truncate_flushes_zeros (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_unicode_contents (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_unicode_filename (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_update_other_instances_of_same_file_on_flush (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_write_str_read_bytes (pyfakefs.tests.fake_open_test.FakeFileOpenTest) ... ok test_append_existing_file (pyfakefs.tests.fake_open_test.OpenFileWithEncodingTest) ... ok test_append_with_aplus (pyfakefs.tests.fake_open_test.OpenFileWithEncodingTest) ... ok test_create_file_with_append (pyfakefs.tests.fake_open_test.OpenFileWithEncodingTest) ... ok test_open_with_append_flag (pyfakefs.tests.fake_open_test.OpenFileWithEncodingTest) ... ok test_open_with_wplus (pyfakefs.tests.fake_open_test.OpenFileWithEncodingTest) ... ok test_read_str_error_modes (pyfakefs.tests.fake_open_test.OpenFileWithEncodingTest) ... ok test_read_with_rplus (pyfakefs.tests.fake_open_test.OpenFileWithEncodingTest) ... ok test_write_and_read_str (pyfakefs.tests.fake_open_test.OpenFileWithEncodingTest) ... ok test_write_str_error_modes (pyfakefs.tests.fake_open_test.OpenFileWithEncodingTest) ... ok test_write_str_read_bytes (pyfakefs.tests.fake_open_test.OpenFileWithEncodingTest) ... ok test_append_existing_file (pyfakefs.tests.fake_open_test.OpenRealFileWithEncodingTest) ... ok test_append_with_aplus (pyfakefs.tests.fake_open_test.OpenRealFileWithEncodingTest) ... ok test_create_file_with_append (pyfakefs.tests.fake_open_test.OpenRealFileWithEncodingTest) ... ok test_open_with_append_flag (pyfakefs.tests.fake_open_test.OpenRealFileWithEncodingTest) ... ok test_open_with_wplus (pyfakefs.tests.fake_open_test.OpenRealFileWithEncodingTest) ... ok test_read_str_error_modes (pyfakefs.tests.fake_open_test.OpenRealFileWithEncodingTest) ... ok test_read_with_rplus (pyfakefs.tests.fake_open_test.OpenRealFileWithEncodingTest) ... ok test_write_and_read_str (pyfakefs.tests.fake_open_test.OpenRealFileWithEncodingTest) ... ok test_write_str_error_modes (pyfakefs.tests.fake_open_test.OpenRealFileWithEncodingTest) ... ok test_write_str_read_bytes (pyfakefs.tests.fake_open_test.OpenRealFileWithEncodingTest) ... ok test_read_binary (pyfakefs.tests.fake_open_test.OpenWithBinaryFlagsTest) ... ok test_write_and_read_binary (pyfakefs.tests.fake_open_test.OpenWithBinaryFlagsTest) ... ok test_write_binary (pyfakefs.tests.fake_open_test.OpenWithBinaryFlagsTest) ... ok test_closefd_with_file_descriptor (pyfakefs.tests.fake_open_test.OpenWithFileDescriptorTest) ... skipped 'only tested on 3.0 or greater' test_open_with_file_descriptor (pyfakefs.tests.fake_open_test.OpenWithFileDescriptorTest) ... skipped 'only tested on 3.0 or greater' test_capital_a (pyfakefs.tests.fake_open_test.OpenWithInvalidFlagsRealFsTest) ... ok test_capital_r (pyfakefs.tests.fake_open_test.OpenWithInvalidFlagsRealFsTest) ... ok test_capital_w (pyfakefs.tests.fake_open_test.OpenWithInvalidFlagsRealFsTest) ... ok test_lower_rw (pyfakefs.tests.fake_open_test.OpenWithInvalidFlagsRealFsTest) ... ok test_lower_u (pyfakefs.tests.fake_open_test.OpenWithInvalidFlagsRealFsTest) ... ok test_capital_a (pyfakefs.tests.fake_open_test.OpenWithInvalidFlagsTest) ... ok test_capital_r (pyfakefs.tests.fake_open_test.OpenWithInvalidFlagsTest) ... ok test_capital_w (pyfakefs.tests.fake_open_test.OpenWithInvalidFlagsTest) ... ok test_lower_rw (pyfakefs.tests.fake_open_test.OpenWithInvalidFlagsTest) ... ok test_lower_u (pyfakefs.tests.fake_open_test.OpenWithInvalidFlagsTest) ... ok test_mixed_text_and_binary_flags (pyfakefs.tests.fake_open_test.OpenWithTextModeFlagsTest) ... skipped 'Mixed content only allowed in Python 2 in Posix' test_read_text_posix (pyfakefs.tests.fake_open_test.OpenWithTextModeFlagsTest) Test that text mode flag is ignored under Posix ... ok test_read_text_windows (pyfakefs.tests.fake_open_test.OpenWithTextModeFlagsTest) Test that text mode flag is ignored under Windows ... ok test_write_and_read_text_binary_posix_python2 (pyfakefs.tests.fake_open_test.OpenWithTextModeFlagsTest) ... ok test_binary_readline (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingTest) ... ok test_read_python2_default_newline_mode_posix (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingTest) ... ok test_read_python2_default_newline_mode_windows (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingTest) ... skipped 'Testing Windows specific functionality' test_read_universal_newline_mode (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingTest) ... ok test_read_with_ignored_universal_newlines_flag (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingTest) ... skipped 'newline argument only available since Python 3' test_read_with_newline_arg (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingTest) ... skipped 'newline argument only available since Python 3' test_readlines_with_newline_arg (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingTest) ... skipped 'newline argument only available since Python 3' test_write_universal_newline_mode (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingTest) ... ok test_write_with_newline_arg (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingTest) ... skipped 'newline argument only available since Python 3' test_read_python2_default_newline_mode (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingWithEncodingTest) ... ok test_read_universal_newline_mode (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingWithEncodingTest) ... ok test_read_with_newline_arg (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingWithEncodingTest) ... skipped 'newline argument only available since Python 3' test_readlines_with_newline_arg (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingWithEncodingTest) ... skipped 'newline argument only available since Python 3' test_write_universal_newline_mode (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingWithEncodingTest) ... ok test_write_with_newline_arg (pyfakefs.tests.fake_open_test.RealFileOpenLineEndingWithEncodingTest) ... skipped 'newline argument only available since Python 3' test_accessing_closed_file_raises (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_accessing_open_file_with_another_handle_raises (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_append_existing_file (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_append_with_aplus_linux_windows (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_append_with_aplus_mac_os (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Testing MacOS specific functionality' test_append_with_aplus_read_with_loop (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_byte_contents (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_byte_contents_py2 (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_byte_contents_py3 (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Python3 specific string handling' test_byte_filename (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_can_read_from_block_device (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Only tests fake FS' test_closed (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_closing_closed_file_does_nothing (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_closing_file_with_different_close_mode (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'closefd argument not available in Python2' test_compatibility_of_with_statement (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Only tests fake FS' test_create_file_with_append (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_create_file_with_write (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_delete_on_close (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Only tests fake FS' test_exclusive_create_binary_file (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Exclusive mode new in Python 3.3' test_exclusive_create_file (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Exclusive mode new in Python 3.3' test_exclusive_create_file_failure (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Exclusive mode new in Python 3.3' test_exclusive_mode_not_valid_in_python2 (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_file_descriptors_for_different_files (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_file_descriptors_for_the_same_file_are_different (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_follow_intra_path_link_write (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_follow_link_read (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_follow_link_write (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_getsize_after_truncate (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_intertwined_read_write (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_intertwined_read_write_python3_str (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Python 3 specific string handling' test_iterate_over_file (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_next_raises_on_closed_file (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_no_delete_on_close_by_default (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_directory_error (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_flags100 (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_flags200 (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_flags400 (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_flags700 (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_io_errors (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_no_parent_dir (pyfakefs.tests.fake_open_test.RealFileOpenTest) Expect raise when opening a file in a missing directory. ... ok test_open_raises_io_error_if_parent_is_file_posix (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_raises_io_error_if_parent_is_file_windows (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Testing Windows specific functionality' test_open_raises_on_symlink_loop (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_st_ctime (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Only tests fake FS' test_open_valid_args (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_valid_file (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_valid_file_with_cwd (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_with_append_flag (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_with_trailing_sep_linux (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_with_trailing_sep_macos (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Testing MacOS specific functionality' test_open_with_trailing_sep_windows (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Testing Windows specific functionality' test_open_with_wplus (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_open_with_wplus_truncation (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_overwrite_existing_file (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_read_empty_file_with_aplus (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_read_flushes_under_posix (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_read_flushes_under_windows_in_python3 (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Testing Windows specific functionality' test_read_with_rplus (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_reused_file_descriptors_do_not_affect_others (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_seek_flushes (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_seek_outside_and_truncate_sets_size_in_append_mode (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_seek_outside_and_truncate_sets_size_in_write_mode (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_st_size_after_truncate (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_tell_flushes_in_python3 (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_tell_flushes_under_mac_os (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... skipped 'Testing MacOS specific functionality' test_that_read_over_end_does_not_reset_position (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_truncate_flushes (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_truncate_flushes_contents (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_truncate_flushes_zeros (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_unicode_contents (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_unicode_filename (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_update_other_instances_of_same_file_on_flush (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_write_str_read_bytes (pyfakefs.tests.fake_open_test.RealFileOpenTest) ... ok test_read_binary (pyfakefs.tests.fake_open_test.RealOpenWithBinaryFlagsTest) ... ok test_write_and_read_binary (pyfakefs.tests.fake_open_test.RealOpenWithBinaryFlagsTest) ... ok test_write_binary (pyfakefs.tests.fake_open_test.RealOpenWithBinaryFlagsTest) ... ok test_mixed_text_and_binary_flags (pyfakefs.tests.fake_open_test.RealOpenWithTextModeFlagsTest) ... skipped 'Mixed content only allowed in Python 2 in Posix' test_read_text_posix (pyfakefs.tests.fake_open_test.RealOpenWithTextModeFlagsTest) Test that text mode flag is ignored under Posix ... ok test_read_text_windows (pyfakefs.tests.fake_open_test.RealOpenWithTextModeFlagsTest) Test that text mode flag is ignored under Windows ... skipped 'Testing Windows specific functionality' test_write_and_read_text_binary_posix_python2 (pyfakefs.tests.fake_open_test.RealOpenWithTextModeFlagsTest) ... ok test_absolute_links_work_after_chdir (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_chdir_through_relative_link (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_chdir_uses_open_fd_as_path (pyfakefs.tests.fake_open_test.ResolvePathTest) ... skipped 'file descriptor as path new in Python 3.3' test_empty_filepath_raises_io_error (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_link_to_absolute_path (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_link_to_parent_directory (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_link_to_sub_directory (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_link_within_same_directory (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_multiple_links (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_none_filepath_raises_type_error (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_normal_path (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_read_link_to_link (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_relative_links_work_after_chdir (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_that_drive_letters_are_preserved (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_that_unc_paths_are_preserved (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_too_many_links (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_utime_link (pyfakefs.tests.fake_open_test.ResolvePathTest) os.utime() and os.stat() via symbolic link (issue #49) ... ok test_write_link_to_link (pyfakefs.tests.fake_open_test.ResolvePathTest) ... ok test_mkdtemp (pyfakefs.tests.fake_tempfile_test.FakeTempfileModuleTest) ... ok test_mkstemp (pyfakefs.tests.fake_tempfile_test.FakeTempfileModuleTest) ... ok test_mkstemp_dir (pyfakefs.tests.fake_tempfile_test.FakeTempfileModuleTest) test tempfile.mkstemp(dir=). ... ok test_named_temporary_file (pyfakefs.tests.fake_tempfile_test.FakeTempfileModuleTest) ... ok test_named_temporary_file_no_delete (pyfakefs.tests.fake_tempfile_test.FakeTempfileModuleTest) ... ok test_temporary_directory (pyfakefs.tests.fake_tempfile_test.FakeTempfileModuleTest) ... skipped 'TemporaryDirectory showed up in 3' test_absolute_sym_link_to_folder (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_bad_relative_path (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_broken_relative_path (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_broken_sym_link (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_broken_sym_link_to_sibling_directory (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_builtin_open_modes (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_empty_file (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_empty_path (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_file_in_a_folder (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_file_with_binary_contents (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_file_with_contents (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_getmtime_nonexistant_path (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_hard_link_to_empty_file (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_hard_link_to_real_file (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_isabs (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_link_to_folder_after_chdir (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_non_existant_file (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_none_path (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_path_through_sym_link_to_parent (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_relative_path (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_relative_sym_link_to_folder (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_root_path (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_sym_link_to_empty_file (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_sym_link_to_parent (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_sym_link_to_real_file (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_sym_link_to_sibling_directory (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_sym_link_to_sibling_directory_non_existant_file (pyfakefs.tests.fake_filesystem_vs_real_test.FakeFilesystemVsRealTest) ... ok test_path_exists (pyfakefs.tests.fake_filesystem_unittest_test.PatchAsOtherNameTest) ... ok test_attributes (pyfakefs.tests.fake_filesystem_unittest_test.TestAttributesWithFakeModuleNames) Attributes of module under test are not patched ... ok test_add_real_directory (pyfakefs.tests.fake_filesystem_unittest_test.TestCopyOrAddRealFile) Add a real directory and the contained files to the fake file system ... ok test_add_real_file (pyfakefs.tests.fake_filesystem_unittest_test.TestCopyOrAddRealFile) Add a real file to the fake file system to be read on demand ... ok test_copy_real_file (pyfakefs.tests.fake_filesystem_unittest_test.TestCopyOrAddRealFile) Typical usage of deprecated copyRealFile() ... ok test_copy_real_file_deprecated_arguments (pyfakefs.tests.fake_filesystem_unittest_test.TestCopyOrAddRealFile) Deprecated copyRealFile() arguments ... ok test_file_exists (pyfakefs.tests.fake_filesystem_unittest_test.TestImportAsOtherName) ... ok test_own_path_module (pyfakefs.tests.fake_filesystem_unittest_test.TestPatchPathUnittestFailing) ... expected failure test_own_path_module (pyfakefs.tests.fake_filesystem_unittest_test.TestPatchPathUnittestPassing) ... ok test_context_manager (pyfakefs.tests.fake_filesystem_unittest_test.TestPatcher) ... ok test_test_case_type (pyfakefs.tests.fake_filesystem_unittest_test.TestPyfakefsTestCase) ... ok test_set_up_pyfakefs (pyfakefs.tests.fake_filesystem_unittest_test.TestPyfakefsTestCaseMixin) ... ok test_fakepathlib (pyfakefs.tests.fake_filesystem_unittest_test.TestPyfakefsUnittest) ... skipped 'pathlib new in Python 3.4' test_file (pyfakefs.tests.fake_filesystem_unittest_test.TestPyfakefsUnittest) Fake `file()` function is bound ... skipped 'file() was removed in Python 3' test_glob (pyfakefs.tests.fake_filesystem_unittest_test.TestPyfakefsUnittest) Fake glob module is bound ... ok test_io_open (pyfakefs.tests.fake_filesystem_unittest_test.TestPyfakefsUnittest) Fake io module is bound ... ok test_open (pyfakefs.tests.fake_filesystem_unittest_test.TestPyfakefsUnittest) Fake `open()` function is bound ... ok test_os (pyfakefs.tests.fake_filesystem_unittest_test.TestPyfakefsUnittest) Fake os module is bound ... ok test_shutil (pyfakefs.tests.fake_filesystem_unittest_test.TestPyfakefsUnittest) Fake shutil module is bound ... ok test_fakefs (pyfakefs.tests.fake_filesystem_unittest_test.TestTempFileReload) ... ok test_value (pyfakefs.tests.fake_filesystem_unittest_test.TestTempFileReload) ... ok test_create_file (pyfakefs.tests.example_test.TestExample) Test example.create_file() which uses `open()` and `file.write()`. ... ok test_delete_file (pyfakefs.tests.example_test.TestExample) Test example.delete_file() which uses `os.remove()`. ... ok test_file_exists (pyfakefs.tests.example_test.TestExample) Test example.path_exists() which uses `os.path.exists()`. ... ok test_get_globs (pyfakefs.tests.example_test.TestExample) Test example.get_glob(). ... ok test_os_scandir (pyfakefs.tests.example_test.TestExample) Test example.scandir() which uses `os.scandir()`. ... skipped 'os.scandir was introduced in Python 3.5' test_real_file_access (pyfakefs.tests.example_test.TestExample) Test `example.file_contents()` for a real file after adding it using ... ok test_rm_tree (pyfakefs.tests.example_test.TestExample) Test example.rm_tree() using `shutil.rmtree()`. ... ok test_scandir_scandir (pyfakefs.tests.example_test.TestExample) Test example.scandir() which uses `scandir.scandir()`. ... ok example (pyfakefs.tests) Doctest: pyfakefs.tests.example ... ok create_file (pyfakefs.tests.example) Doctest: pyfakefs.tests.example.create_file ... ok delete_file (pyfakefs.tests.example) Doctest: pyfakefs.tests.example.delete_file ... ok get_glob (pyfakefs.tests.example) Doctest: pyfakefs.tests.example.get_glob ... ok path_exists (pyfakefs.tests.example) Doctest: pyfakefs.tests.example.path_exists ... ok test_set_raise_if_unknown_attribute (pyfakefs.tests.mox3_stubout_test.StubOutForTestingTest) ... ok test_smart_set_raise_if_unknown_attribute (pyfakefs.tests.mox3_stubout_test.StubOutForTestingTest) ... ok test_stubout_class_with_set (pyfakefs.tests.mox3_stubout_test.StubOutForTestingTest) ... ok test_stubout_class_with_smart_set (pyfakefs.tests.mox3_stubout_test.StubOutForTestingTest) ... ok test_stubout_method_with_set (pyfakefs.tests.mox3_stubout_test.StubOutForTestingTest) ... ok test_stubout_method_with_smart_set (pyfakefs.tests.mox3_stubout_test.StubOutForTestingTest) ... ok test_stubout_module_with_set (pyfakefs.tests.mox3_stubout_test.StubOutForTestingTest) ... ok test_stubout_module_with_smart_set (pyfakefs.tests.mox3_stubout_test.StubOutForTestingTest) ... ok test_stubout_submodule_with_smart_set (pyfakefs.tests.mox3_stubout_test.StubOutForTestingTest) ... ok test_os_import_as_patch (pyfakefs.tests.dynamic_patch_test.DynamicImportPatchTest) ... ok test_os_patch (pyfakefs.tests.dynamic_patch_test.DynamicImportPatchTest) ... ok test_os_path_patch (pyfakefs.tests.dynamic_patch_test.DynamicImportPatchTest) ... ok test_pathlib_patch (pyfakefs.tests.dynamic_patch_test.DynamicImportPatchTest) ... skipped 'pathlib new in Python 3.4' test_pathlib_path_patch (pyfakefs.tests.dynamic_patch_test.DynamicImportPatchTest) ... skipped 'pathlib new in Python 3.4' test_shutil_patch (pyfakefs.tests.dynamic_patch_test.DynamicImportPatchTest) ... skipped 'disk_usage new in Python 3.3' ---------------------------------------------------------------------- Ran 1486 tests in 1.948s OK (skipped=365, expected failures=1) + pwd + PYTHONPATH=/tmp/B.4akBAq/BUILD/pyfakefs-3.4.3/build-2/lib PYTEST_PLUGINS=pyfakefs.pytest_plugin py.test-2 build-2/lib/pyfakefs/tests/pytest_plugin_test.py Traceback (most recent call last): File "/usr/bin/py.test-2", line 11, in <module> load_entry_point('pytest==3.0.7', 'console_scripts', 'py.test')() File "/usr/share/python2.7/site-packages/_pytest/config.py", line 47, in main File "/usr/share/python2.7/site-packages/_pytest/config.py", line 156, in _prepareconfig File "/usr/share/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__ File "/usr/share/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec File "/usr/share/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda> File "/usr/share/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute File "/usr/share/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 250, in _wrapped_call File "/usr/share/python2.7/site-packages/_pytest/helpconfig.py", line 32, in pytest_cmdline_parse File "/usr/share/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 280, in get_result File "/usr/share/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__ File "/usr/share/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute File "/usr/share/python2.7/site-packages/_pytest/config.py", line 924, in pytest_cmdline_parse File "/usr/share/python2.7/site-packages/_pytest/config.py", line 1082, in parse File "/usr/share/python2.7/site-packages/_pytest/config.py", line 1045, in _preparse File "/usr/share/python2.7/site-packages/_pytest/config.py", line 402, in consider_env File "/usr/share/python2.7/site-packages/_pytest/config.py", line 410, in _import_plugin_specs File "/usr/share/python2.7/site-packages/_pytest/config.py", line 441, in import_plugin File "/usr/share/python2.7/site-packages/_pytest/config.py", line 250, in register File "/usr/share/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 351, in register ValueError: Plugin already registered: pyfakefs.pytest_plugin=<module 'pyfakefs.pytest_plugin' from '/tmp/B.4akBAq/BUILD/pyfakefs-3.4.3/build-2/lib/pyfakefs/pytest_plugin.py'> {'cacheprovider': <module '_pytest.cacheprovider' from '/usr/share/python2.7/site-packages/_pytest/cacheprovider.pyc'>, 'debugging': <module '_pytest.debugging' from '/usr/share/python2.7/site-packages/_pytest/debugging.pyc'>, 'pytestconfig': <_pytest.config.Config object at 0x7f15d705d4d0>, 'helpconfig': <module '_pytest.helpconfig' from '/usr/share/python2.7/site-packages/_pytest/helpconfig.pyc'>, 'runner': <module '_pytest.runner' from '/usr/share/python2.7/site-packages/_pytest/runner.pyc'>, 'unittest': <module '_pytest.unittest' from '/usr/share/python2.7/site-packages/_pytest/unittest.pyc'>, 'xdist.looponfail': <module 'xdist.looponfail' from '/usr/share/python2.7/site-packages/xdist/looponfail.pyc'>, 'xdist': <module 'xdist.plugin' from '/usr/share/python2.7/site-packages/xdist/plugin.pyc'>, '139732000338832': <_pytest.config.PytestPluginManager object at 0x7f15e43e7390>, 'pastebin': <module '_pytest.pastebin' from '/usr/share/python2.7/site-packages/_pytest/pastebin.pyc'>, 'skipping': <module '_pytest.skipping' from '/usr/share/python2.7/site-packages/_pytest/skipping.pyc'>, 'fixtures': <module '_pytest.fixtures' from '/usr/share/python2.7/site-packages/_pytest/fixtures.pyc'>, 'tmpdir': <module '_pytest.tmpdir' from '/usr/share/python2.7/site-packages/_pytest/tmpdir.pyc'>, 'capture': <module '_pytest.capture' from '/usr/share/python2.7/site-packages/_pytest/capture.pyc'>, 'assertion': <module '_pytest.assertion' from '/usr/share/python2.7/site-packages/_pytest/assertion/__init__.pyc'>, 'mark': <module '_pytest.mark' from '/usr/share/python2.7/site-packages/_pytest/mark.pyc'>, 'terminal': <module '_pytest.terminal' from '/usr/share/python2.7/site-packages/_pytest/terminal.pyc'>, 'pytest_expect': <module 'pytest_expect.expect' from '/usr/share/python2.7/site-packages/pytest_expect/expect.pyc'>, 'main': <module '_pytest.main' from '/usr/share/python2.7/site-packages/_pytest/main.pyc'>, 'nose': <module '_pytest.nose' from '/usr/share/python2.7/site-packages/_pytest/nose.pyc'>, 'xdist.boxed': <module 'xdist.boxed' from '/usr/share/python2.7/site-packages/xdist/boxed.pyc'>, 'python': <module '_pytest.python' from '/usr/share/python2.7/site-packages/_pytest/python.pyc'>, 'recwarn': <module '_pytest.recwarn' from '/usr/share/python2.7/site-packages/_pytest/recwarn.pyc'>, 'monkeypatch': <module '_pytest.monkeypatch' from '/usr/share/python2.7/site-packages/_pytest/monkeypatch.pyc'>, 'resultlog': <module '_pytest.resultlog' from '/usr/share/python2.7/site-packages/_pytest/resultlog.pyc'>, 'pytest_fakefs': <module 'pyfakefs.pytest_plugin' from '/tmp/B.4akBAq/BUILD/pyfakefs-3.4.3/build-2/lib/pyfakefs/pytest_plugin.py'>, 'setuponly': <module '_pytest.setuponly' from '/usr/share/python2.7/site-packages/_pytest/setuponly.pyc'>, 'pytest_cov': <module 'pytest_cov.plugin' from '/usr/share/python2.7/site-packages/pytest_cov/plugin.pyc'>, 'junitxml': <module '_pytest.junitxml' from '/usr/share/python2.7/site-packages/_pytest/junitxml.pyc'>, 'doctest': <module '_pytest.doctest' from '/usr/share/python2.7/site-packages/_pytest/doctest.pyc'>, 'timeout': <module 'pytest_timeout' from '/usr/share/python2.7/site-packages/pytest_timeout.pyc'>, 'setupplan': <module '_pytest.setupplan' from '/usr/share/python2.7/site-packages/_pytest/setupplan.pyc'>, 'freeze_support': <module '_pytest.freeze_support' from '/usr/share/python2.7/site-packages/_pytest/freeze_support.pyc'>} error: Bad exit status from /tmp/B.4akBAq/BUILD/tmp/rpm-tmp.91602 (%build) RPM build errors: Bad exit status from /tmp/B.4akBAq/BUILD/tmp/rpm-tmp.91602 (%build) ended at: Tue Jul 3 18:45:04 2018, done in 0:00:05.246527 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.4akBAq/BUILD + rm -rf /tmp/B.4akBAq/tmp /tmp/B.4akBAq/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.4akBAq Begin-PLD-Builder-Info Build-Time: user:6.13s sys:0.60s real:8.45s (faults io:0 non-io:202093) End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]