aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests
diff options
context:
space:
mode:
authorBenoit Pierre <benoit.pierre@gmail.com>2019-01-28 23:04:09 +0100
committerBenoit Pierre <benoit.pierre@gmail.com>2019-01-28 23:04:09 +0100
commit3ac3b67e2c8a776f410eae49472a0f8266e29612 (patch)
tree11ffa75dd8873637f0308265237a144d881fc874 /setuptools/tests
parent0425790c7d2d60ebd0e576796d07288a43fcaf0c (diff)
downloadexternal_python_setuptools-3ac3b67e2c8a776f410eae49472a0f8266e29612.tar.gz
external_python_setuptools-3ac3b67e2c8a776f410eae49472a0f8266e29612.tar.bz2
external_python_setuptools-3ac3b67e2c8a776f410eae49472a0f8266e29612.zip
tests: minor cleanup
Diffstat (limited to 'setuptools/tests')
-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.