vDݙx$ddlZddlZddlZddlmcmZddlmZddlm Z ej j dZ dZ dZdZdZejejjjZej ejd kd d ZdS) N)Patcher) unhashablecd|tjdtdS)zLTest fails because EXAMPLE_FILE is cached in the module and not patched. stuff herecontentsN create_fileexample EXAMPLE_FILE%check_that_example_file_is_in_fake_fsfss {/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pyfakefs/pytest_tests/pytest_fixture_test.pytest_example_file_failingrs/NN7',N???)+++++cd|tjdtdS)zRTest passes if using a fixture that reloads the module containing EXAMPLE_FILErrNr )fs_reload_examples r'test_example_file_passing_using_fixturer s2!!'"6!NNN)+++++rcttg5}|jtjdt ddddS#1swxYwYdS)z[Test passes if using a Patcher instance that reloads the module containing EXAMPLE_FILE)modules_to_reloadrrN)rr rr r r )patchers r'test_example_file_passing_using_patcherr's G9 - - -0 w3lKKK-///000000000000000000s5AA Ac.ttdS)N)printrrs rtest_unhashabler/s *rcttj5}|dksJ dddn #1swxYwYtj5}|dksJ dddn #1swxYwYtjdksJtjsJdS)Nr)openr r read read_textis_file)files rr r 4sE g" # #+tyy{{l*****+++++++++++++++   " " $ $+yy{{l*****+++++++++++++++   ) ) + +| ; ; ; ;   ' ' ) ))) )))s#AA A+BBB)z importlib.metadata not available)reasonctdtjdz }||rJ|d||sJ||dz sJdS)Nzpytest-z .dist-infopytestMETADATA)pytest_parent_pathr' __version__existsadd_package_metadata)rpytest_dist_paths rtest_add_package_metadatar.@s*,Tf6H,T,T,TTyy)**** *H%%% 99% & &&& & 99% 2 3 333 333r)pathlibsysr'pyfakefs.pytest_tests.example pytest_testsr !pyfakefs.fake_filesystem_unittestrpyfakefs.pytest_testsrmarkxfailrrrrr Path__file__parentr)skipif version_infor.rrr=s)  /////////555555,,,,,,,,,,,,000 ***"W\&/229@v&H44444r