Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37854285
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: python3-module-pytest-shutil

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: Replace-path.py-with-path.patch
Скачать


From 86561bdb5b888e76a4850a54a79545f0b4d105ad Mon Sep 17 00:00:00 2001
From: Ben Mares <15216687+maresb@users.noreply.github.com>
Date: Sat, 6 Mar 2021 20:05:36 +0100
Subject: [PATCH] Replace path.py with path
---
 pytest-shutil/README.md | 2 +-
 pytest-shutil/setup.py  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pytest-shutil/README.md b/pytest-shutil/README.md
index c34c533..0d65446 100644
--- a/pytest-shutil/README.md
+++ b/pytest-shutil/README.md
@@ -23,7 +23,7 @@ The workspace fixture is simply a temporary directory at function-scope with a f
     pytest_plugins = ['pytest_shutil']
     
     def test_something(workspace):
-        # Workspaces contain a handle to the path.py path object (see https://pathpy.readthedocs.io/)
+        # Workspaces contain a handle to the path `path` object (see https://path.readthedocs.io/)
         path = workspace.workspace         
         script = path / 'hello.sh'
         script.write_text('#!/bin/sh\n echo hello world!')
diff --git a/pytest-shutil/setup.py b/pytest-shutil/setup.py
index fbe3a34..3f1047e 100644
--- a/pytest-shutil/setup.py
+++ b/pytest-shutil/setup.py
@@ -25,7 +25,7 @@ install_requires = ['six',
                     'execnet',
                     'contextlib2;python_version<"3"',
                     'pytest',
-                    'path.py',
+                    'path',
                     'mock',
                     'termcolor'
                     ]
-- 
2.33.8
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin