aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_build_py.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/tests/test_build_py.py')
-rw-r--r--setuptools/tests/test_build_py.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/setuptools/tests/test_build_py.py b/setuptools/tests/test_build_py.py
index cc701ae6..b3a99f56 100644
--- a/setuptools/tests/test_build_py.py
+++ b/setuptools/tests/test_build_py.py
@@ -1,17 +1,9 @@
import os
-import pytest
-
from setuptools.dist import Distribution
-@pytest.yield_fixture
-def tmpdir_as_cwd(tmpdir):
- with tmpdir.as_cwd():
- yield tmpdir
-
-
-def test_directories_in_package_data_glob(tmpdir_as_cwd):
+def test_directories_in_package_data_glob(tmpdir_cwd):
"""
Directories matching the glob in package_data should
not be included in the package data.