Commit 477a6fa4 authored by Éric Araujo's avatar Éric Araujo

Revert cosmetic change.

A reminder: distutils only gets bug fixes.  Cosmetic changes, especially
in tests, are not worth the time spent, and can even make future merges
of bugfixes a bit less easy.
parent ebd84d7f
...@@ -10,7 +10,7 @@ from distutils.core import Distribution ...@@ -10,7 +10,7 @@ from distutils.core import Distribution
from distutils.errors import DistutilsFileError from distutils.errors import DistutilsFileError
from distutils.tests import support from distutils.tests import support
from test.support import run_unittest, create_empty_file from test.support import run_unittest
class BuildPyTestCase(support.TempdirManager, class BuildPyTestCase(support.TempdirManager,
...@@ -71,11 +71,11 @@ class BuildPyTestCase(support.TempdirManager, ...@@ -71,11 +71,11 @@ class BuildPyTestCase(support.TempdirManager,
# create the distribution files. # create the distribution files.
sources = self.mkdtemp() sources = self.mkdtemp()
create_empty_file(os.path.join(sources, "__init__.py")) open(os.path.join(sources, "__init__.py"), "w").close()
testdir = os.path.join(sources, "doc") testdir = os.path.join(sources, "doc")
os.mkdir(testdir) os.mkdir(testdir)
create_empty_file(os.path.join(testdir, "testfile")) open(os.path.join(testdir, "testfile"), "w").close()
os.chdir(sources) os.chdir(sources)
old_stdout = sys.stdout old_stdout = sys.stdout
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment