summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2019-01-28 18:02:00 -0500
committerGitHub <noreply@github.com>2019-01-28 18:02:00 -0500
commitf6f85ea2598137892367fbe599c2e996ed06c1b6 (patch)
tree11ffa75dd8873637f0308265237a144d881fc874
parent0425790c7d2d60ebd0e576796d07288a43fcaf0c (diff)
parent3ac3b67e2c8a776f410eae49472a0f8266e29612 (diff)
downloadpython-setuptools-git-f6f85ea2598137892367fbe599c2e996ed06c1b6.tar.gz
Merge pull request #1658 from benoit-pierre/minor_tests_related_cleanup
tests: minor cleanup
-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.