datasets

Форк
0
/
_test_patching.py 
13 строк · 577.0 Байт
1
# isort: skip_file
2

3
# This is the module that test_patching.py uses to test patch_submodule()
4

5
import os  # noqa: F401 - this is just for tests
6
import os as renamed_os  # noqa: F401 - this is just for tests
7
from os import path  # noqa: F401 - this is just for tests
8
from os import path as renamed_path  # noqa: F401 - this is just for tests
9
from os.path import join  # noqa: F401 - this is just for tests
10
from os.path import join as renamed_join  # noqa: F401 - this is just for tests
11

12

13
open = open  # noqa we just need to have a builtin inside this module to test it properly
14

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.