summaryrefslogtreecommitdiffstats
path: root/Lib/nntplib.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-08-29 23:21:11 (GMT)
committerGitHub <noreply@github.com>2018-08-29 23:21:11 (GMT)
commit0382406fccbb31aa993de118b60e7fd4ec264968 (patch)
tree2116b528923ed6b0f964665698ca49da5c6653df /Lib/nntplib.py
parentfbca90856d96273fd87c0b126f6e7966af7fbf7b (diff)
downloadcpython-0382406fccbb31aa993de118b60e7fd4ec264968.zip
cpython-0382406fccbb31aa993de118b60e7fd4ec264968.tar.gz
cpython-0382406fccbb31aa993de118b60e7fd4ec264968.tar.bz2
Fix TestPosixSpawn.test_close_file() (GH-8992)
Modify TestPosixSpawn to run Python using -I and -S options. Disable site module to avoid side effects. For example, on Fedora 28, if the HOME environment variable is not set, site._getuserbase() calls pwd.getpwuid() which opens /var/lib/sss/mc/passwd, but then leaves the file open which makes test_close_file() to fail.
Diffstat (limited to 'Lib/nntplib.py')
0 files changed, 0 insertions, 0 deletions