We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent accfe6a commit bde0741Copy full SHA for bde0741
2 files changed
yhttp/dev/__init__.py
@@ -1 +1 @@
1
-__version__ = '3.5.0'
+__version__ = '3.6.0'
yhttp/dev/fixtures.py
@@ -19,6 +19,18 @@ def cicd():
19
return CICD
20
21
22
+@pytest.fixture
23
+def changedir():
24
+ @contextlib.contextmanager
25
+ def change(d):
26
+ backup = os.getcwd()
27
+ os.chdir(d)
28
+ yield
29
+ os.chdir(backup)
30
+
31
+ return change
32
33
34
@pytest.fixture
35
def tempdir():
36
tdir = tempfile.mkdtemp()
0 commit comments